diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-07-30 00:17:17 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-07-30 00:17:17 (GMT) |
commit | 981ba55190b978b3e67223df0a7049c65c826a1a (patch) | |
tree | b34030397f3a227d6fd2aa90b0f57b26f1cab554 /src/H5Ocache.c | |
parent | 03d1221bd821c397bb4a2222e3c7b49fa93fd96e (diff) | |
download | hdf5-981ba55190b978b3e67223df0a7049c65c826a1a.zip hdf5-981ba55190b978b3e67223df0a7049c65c826a1a.tar.gz hdf5-981ba55190b978b3e67223df0a7049c65c826a1a.tar.bz2 |
[svn-r17266] Description:
Clean up various compiler warnings from IRIX64 build
Tested on:
Mac OS X/32 (amazon) debug & production
(yes, I know it's not an IRIX64 system :-)
Too minor to require h5committest
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r-- | src/H5Ocache.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c index 551eca8..b256eef 100644 --- a/src/H5Ocache.c +++ b/src/H5Ocache.c @@ -186,10 +186,16 @@ H5O_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED * _udata1, /* Time fields */ if(oh->flags & H5O_HDR_STORE_TIMES) { - UINT32DECODE(p, oh->atime); - UINT32DECODE(p, oh->mtime); - UINT32DECODE(p, oh->ctime); - UINT32DECODE(p, oh->btime); + uint32_t tmp; /* Temporary value */ + + UINT32DECODE(p, tmp); + oh->atime = (time_t)tmp; + UINT32DECODE(p, tmp); + oh->mtime = (time_t)tmp; + UINT32DECODE(p, tmp); + oh->ctime = (time_t)tmp; + UINT32DECODE(p, tmp); + oh->btime = (time_t)tmp; } /* end if */ else oh->atime = oh->mtime = oh->ctime = oh->btime = 0; |