summaryrefslogtreecommitdiff
path: root/source3/lib/replace
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 12:29:00 -0500
commit63acef8e46bee853b8c110984db974460f6e1beb (patch)
treef6302f3e26e7d2ec009c9376bd76e04600d1609e /source3/lib/replace
parente29325a6ce6aafb64485f1372ebb4148bffae57b (diff)
downloadsamba-63acef8e46bee853b8c110984db974460f6e1beb.tar.gz
samba-63acef8e46bee853b8c110984db974460f6e1beb.tar.bz2
samba-63acef8e46bee853b8c110984db974460f6e1beb.zip
r24054: Fix some warnings
(This used to be commit ed84540bb2825dfaca25649a1cfb9342b68c3068)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/test/testsuite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/replace/test/testsuite.c b/source3/lib/replace/test/testsuite.c
index 9b684f31bb..8584bcaa66 100644
--- a/source3/lib/replace/test/testsuite.c
+++ b/source3/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);