summaryrefslogtreecommitdiff
path: root/source4/lib/replace/test/testsuite.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-26 07:48:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:20 -0500
commit6dad5b6e06242f29b7da6f9ea91d911b0f20d7b9 (patch)
tree5766d89348283f7cf03a7b9a08e2da40c59cd781 /source4/lib/replace/test/testsuite.c
parent41ab04e37c038418008cd8a31e30a57593ac846c (diff)
downloadsamba-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/testsuite.c')
-rw-r--r--source4/lib/replace/test/testsuite.c4
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);