diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-07-26 07:48:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:20 -0500 |
commit | 6dad5b6e06242f29b7da6f9ea91d911b0f20d7b9 (patch) | |
tree | 5766d89348283f7cf03a7b9a08e2da40c59cd781 /source4/lib/replace/test | |
parent | 41ab04e37c038418008cd8a31e30a57593ac846c (diff) | |
download | samba-6dad5b6e06242f29b7da6f9ea91d911b0f20d7b9.tar.gz samba-6dad5b6e06242f29b7da6f9ea91d911b0f20d7b9.tar.bz2 samba-6dad5b6e06242f29b7da6f9ea91d911b0f20d7b9.zip |
r24054: Fix some warnings
(This used to be commit b3473db397476d05e7ffca50a5f7a9b65e0a5b4a)
Diffstat (limited to 'source4/lib/replace/test')
-rw-r--r-- | source4/lib/replace/test/testsuite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/test/testsuite.c b/source4/lib/replace/test/testsuite.c index 9b684f31bb..8584bcaa66 100644 --- a/source4/lib/replace/test/testsuite.c +++ b/source4/lib/replace/test/testsuite.c @@ -519,7 +519,7 @@ static int test_strtoll(void) { printf("test: strtoll\n"); -#define TEST_STRTOLL(str,base,res,diff,errnoo) TEST_STRTO_X(int64_t, "%lld", strtoll,str,base,res,diff,errnoo) +#define TEST_STRTOLL(str,base,res,diff,errnoo) TEST_STRTO_X(long long int, "%lld", strtoll,str,base,res,diff,errnoo) TEST_STRTOLL("15", 10, 15LL, 2, 0); TEST_STRTOLL(" 15", 10, 15LL, 4, 0); @@ -618,7 +618,7 @@ static int test_strtoull(void) { printf("test: strtoull\n"); -#define TEST_STRTOULL(str,base,res,diff,errnoo) TEST_STRTO_X(uint64_t,"%llu",strtoull,str,base,res,diff,errnoo) +#define TEST_STRTOULL(str,base,res,diff,errnoo) TEST_STRTO_X(long long unsigned int,"%llu",strtoull,str,base,res,diff,errnoo) TEST_STRTOULL("15", 10, 15LLU, 2, 0); TEST_STRTOULL(" 15", 10, 15LLU, 4, 0); |