Change the macro ATOI64U to mean strtoull under unix(my fault).
authorHiroshi Inoue <inoue@tpf.co.jp>
Mon, 24 Feb 2003 01:06:32 +0000 (01:06 +0000)
committerHiroshi Inoue <inoue@tpf.co.jp>
Mon, 24 Feb 2003 01:06:32 +0000 (01:06 +0000)
convert.c

index e090bf18e498221971edbf8cb3c003b52c32b8cf..fd44b31cbf5912bda72740b5c6f42a355918c756 100644 (file)
--- a/convert.c
+++ b/convert.c
@@ -168,7 +168,7 @@ static int pg_hex2bin(UCHAR *src, UCHAR *dst, int length);
 #define    FORMATI64U  "%I64u"
 #else
 #define    ATOI64(val) strtoll(val, NULL, 10)
-#define    ATOI64U(val)    strtoul(val, NULL, 10)
+#define    ATOI64U(val)    strtoull(val, NULL, 10)
 #define    FORMATI64   "%lld"
 #define    FORMATI64U  "%llu"
 #endif /* WIN32 */