search for: local__strtoull

Displaying 2 results from an estimated 2 matches for "local__strtoull".

Did you mean: local__strtoll
2012 Apr 17
1
[PATCH 2/2] replace local_strtoull with _strtoui64 in windows
...re/grabbag/replaygain.h" #include <ctype.h> #include <stdio.h> @@ -840,34 +841,12 @@ FLAC__bool parse_uint32(const char *src, FLAC__uint32 *dest) return true; } -#ifdef _MSC_VER -/* There's no strtoull() in MSVC6 so we just write a specialized one */ -static FLAC__uint64 local__strtoull(const char *src) -{ - FLAC__uint64 ret = 0; - int c; - FLAC__ASSERT(0 != src); - while(0 != (c = *src++)) { - c -= '0'; - if(c >= 0 && c <= 9) - ret = (ret * 10) + c; - else - break; - } - return ret; -} -#endif - FLAC__bool parse_uint64(const char *src, FLAC__uint64 *...
2014 Mar 09
1
PATCH: strtoull
For MSVS, share/compat.h redefines strtoull as _strtoui64, and there's no need in local__strtoull(). -------------- next part -------------- A non-text attachment was scrubbed... Name: strtoull.patch Type: application/octet-stream Size: 936 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140310/b959b299/attachment.obj