diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-23 06:54:41 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-23 06:54:41 +0000 |
commit | 1e54c6991073745fb51b7201b53d3dc0297b5928 (patch) | |
tree | 616673160290b7618bbcda693b7cd3be67dd2f4a /cpukit | |
parent | 2011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-1e54c6991073745fb51b7201b53d3dc0297b5928.tar.bz2 |
2011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/utimes.c (utimes): Remove casts to time_t.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/utimes.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index c4fe7db940..140c3a9919 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org> + + * libcsupport/src/utimes.c (utimes): Remove casts to time_t. + 2011-10-21 Ralf Corsépius <ralf.corsepius@rtems.org> * automake/compile.am: Remove -Werror=... diff --git a/cpukit/libcsupport/src/utimes.c b/cpukit/libcsupport/src/utimes.c index b2070a9431..ab81ca068a 100644 --- a/cpukit/libcsupport/src/utimes.c +++ b/cpukit/libcsupport/src/utimes.c @@ -26,8 +26,8 @@ int utimes( if ( times == NULL ) return utime( path, NULL ); - timeinsecs.actime = (time_t) times[0].tv_sec; - timeinsecs.modtime = (time_t) times[1].tv_sec; + timeinsecs.actime = times[0].tv_sec; + timeinsecs.modtime = times[1].tv_sec; return utime( path, &timeinsecs ); } |