projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
309496a
)
Change the macro ATOI64U to mean strtoull under unix(my fault).
author
Hiroshi Inoue
<inoue@tpf.co.jp>
Mon, 24 Feb 2003 01:06:32 +0000
(
01:06
+0000)
committer
Hiroshi Inoue
<inoue@tpf.co.jp>
Mon, 24 Feb 2003 01:06:32 +0000
(
01:06
+0000)
convert.c
patch
|
blob
|
blame
|
history
diff --git
a/convert.c
b/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) strtoul
l
(val, NULL, 10)
#define FORMATI64 "%lld"
#define FORMATI64U "%llu"
#endif /* WIN32 */