diff options
author | Pádraig Brady <P@draigBrady.com> | 2008-12-23 09:36:22 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2008-12-23 10:29:05 +0000 |
commit | f144582e176eda6195e72a505f42d809a3749bfb (patch) | |
tree | 0fcdeabee9a100564a8fd8f47bcd441fb26b2769 /.gitignore | |
parent | 9a913a24614ec323492a4e7b73724380eadba42f (diff) | |
download | coreutils-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions