diff options
author | Paul R. Eggert <eggert@cs.ucla.edu> | 2010-07-26 10:56:32 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-07-26 10:56:49 -0700 |
commit | 84ee3b1cd87b3a9161eee3634c529eb835703fba (patch) | |
tree | 34c0bfb92ab89815e8f980acbf25ee87647123b5 /ChangeLog | |
parent | b48afd89ec9be56156d6e2bebfdf457c778fe5c3 (diff) | |
download | gnulib-84ee3b1cd87b3a9161eee3634c529eb835703fba.tar.gz |
timespec: use cast and not conditional, as truncation isn't possible
* lib/timespec.h (timespec_cmp): Use cast to pacify gcc -Wconversion
instead of a conditional. Comment about the situation in more detail.
This undoes most of the 2009-10-29 patch.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2010-07-26 Paul R. Eggert <eggert@cs.ucla.edu> + + timespec: use cast and not conditional, as truncation isn't possible + * lib/timespec.h (timespec_cmp): Use cast to pacify gcc -Wconversion + instead of a conditional. Comment about the situation in more detail. + This undoes most of the 2009-10-29 patch. + 2010-07-18 Bruno Haible <bruno@clisp.org> unistr/u8-strchr: Optimize non-ASCII argument case. |