summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-05-09 16:47:57 +0200
committerAndreas Jaeger <aj@suse.de>2012-05-09 16:47:57 +0200
commit1a4b75a190006bb013a61f2031a4de86e93a629f (patch)
tree124161c731370e44a7acf1ff86b95ba9d85fa17f /ChangeLog
parentb1cc2472d26084ec88b53606baabb82ec6b80db2 (diff)
Fix strspn warning with -Wconversion
[BZ #14083] Fix warning when using strspn with -Wconversion: $ gcc -Wconversion -O t.c t.c: In function ‘main’: t.c:8:7: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 80651f1e4b..99283e2f82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-05-09 Andreas Jaeger <aj@suse.de>
+
+ [BZ #14083]
+ * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
+ !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
+ -Wconversion warning.
+ (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
+ Likewise.
+
2012-05-09 Joseph Myers <joseph@codesourcery.com>
* conform/data/locale.h-data (NULL): Use macro-constant. Require