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/libcsupport | |
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/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/utimes.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); } |