summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2008-12-23 09:36:22 +0000
committerPádraig Brady <P@draigBrady.com>2008-12-23 10:29:05 +0000
commitf144582e176eda6195e72a505f42d809a3749bfb (patch)
tree0fcdeabee9a100564a8fd8f47bcd441fb26b2769 /NEWS
parent9a913a24614ec323492a4e7b73724380eadba42f (diff)
downloadcoreutils-f144582e176eda6195e72a505f42d809a3749bfb.tar.xz
timeout: remove problematic casts
* src/timeout.c (apply_time_suffix): Change input parameter from unsigned int to unsigned long, which is the type of the variable it's actually manipulating. This removes the need for the cast which was giving a warning with the gcc options: -fstrict-aliasing -Wstrict-aliasing. Also add a check for overflow possible on 16-bit platforms, and fix indents. (main): Remove a redundant cast in the alarm() call.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions