Commit 940a55cc authored by Michael Niedermayer's avatar Michael Niedermayer

eval: Fix 32bit unsigned parsing

Fixes ticket264
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a7e4342f
......@@ -76,7 +76,7 @@ double av_strtod(const char *numstr, char **tail)
double d;
char *next;
if(numstr[0]=='0' && (numstr[1]|0x20)=='x') {
d = strtol(numstr, &next, 16);
d = strtoul(numstr, &next, 16);
} else
d = strtod(numstr, &next);
/* if parsing succeeded, check for and interpret postfixes */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment