timespec: use cast and not conditional, as truncation isn't possible
authorPaul R. Eggert <eggert@cs.ucla.edu>
Mon, 26 Jul 2010 17:56:32 +0000 (10:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Jul 2010 17:56:49 +0000 (10:56 -0700)
commit84ee3b1cd87b3a9161eee3634c529eb835703fba
tree34c0bfb92ab89815e8f980acbf25ee87647123b5
parentb48afd89ec9be56156d6e2bebfdf457c778fe5c3
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.
ChangeLog
lib/timespec.h