[MPlayer-dev-eng] octal and hex surprise and perplex

Uoti Urpala uoti.urpala at pp1.inet.fi
Sun Jun 11 11:10:34 CEST 2006


On Sun, 2006-06-11 at 10:22 +0200, Reimar Döffinger wrote:
> Maybe it's better to replace the strtol(..., 0) by
> strtol(..., 10) and if that fails also try strtol(..., 16).

The strtol(..., 16) fallback would accept hex strings without a prefix
such as "f". 




More information about the MPlayer-dev-eng mailing list