aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-11-27 03:24:18 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-11-27 03:24:18 +0000
commitbe97091638d156a53009b4034c60b58eaf3efa24 (patch)
treee92ea87b52fdadbdec44d7b62164b7e58ffb828c /ChangeLog
parent8915eacef88eb25ac94e6bb37b473adb326e9d1b (diff)
downloadglibc-be97091638d156a53009b4034c60b58eaf3efa24.zip
glibc-be97091638d156a53009b4034c60b58eaf3efa24.tar.gz
glibc-be97091638d156a53009b4034c60b58eaf3efa24.tar.bz2
Fix nss/tst-nss-test1.c format warning.
Testing for 32-bit x86 shows up a warning "tst-nss-test1.c:25:3: warning: format '%ju' expects argument of type 'uintmax_t', but argument 2 has type 'int' [-Wformat=]". The argument is a difference of two pointers, a signed quantity of type ptrdiff_t for which the right format is %td; this patch makes this test use that format. Tested for 32-bit x86. * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer difference, not %ju.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 44c9453..c9b49ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-27 Joseph Myers <joseph@codesourcery.com>
+
+ * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
+ difference, not %ju.
+
2014-11-26 Joseph Myers <joseph@codesourcery.com>
* include/libc-internal.h (ignore_value): New macro.