diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-05-04 06:59:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:51:58 -0500 |
commit | e4161f9deee8198e9128e88458e3c5603e86cd3e (patch) | |
tree | 1f528b90c371e8f004e636d663a9d30c1dabde7c /source4/lib/replace/test | |
parent | f239b809b44fb776cb55ae470cdff2521b485489 (diff) | |
download | samba-e4161f9deee8198e9128e88458e3c5603e86cd3e.tar.gz samba-e4161f9deee8198e9128e88458e3c5603e86cd3e.tar.bz2 samba-e4161f9deee8198e9128e88458e3c5603e86cd3e.zip |
r22658: - add AC_GNU_SOURCE macro for systems which don't have it
(sles8)
- fix compiler warning on some systems
metze
(This used to be commit 2097ac64fc5b2b7e9a8221861a788c4a5f44948a)
Diffstat (limited to 'source4/lib/replace/test')
-rw-r--r-- | source4/lib/replace/test/testsuite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/test/testsuite.c b/source4/lib/replace/test/testsuite.c index 2d068c559f..54ffd6a66d 100644 --- a/source4/lib/replace/test/testsuite.c +++ b/source4/lib/replace/test/testsuite.c @@ -511,7 +511,7 @@ static int test_inet_ntoa(void) "\tptr: %p - %p = %d != %d\n" \ "]\n", \ __STRING(func), __location__, __STRING(func), \ - str, diff, base, res, _v, _ep, _p, diff - (_ep - _p), diff); \ + str, diff, base, res, _v, _ep, _p, (int)(diff - (_ep - _p)), diff); \ return false; \ } \ } while (0) |