summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-12-10 21:24:14 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-12-10 21:24:14 (GMT)
commitda3602be5d58b39b03f182d7db77a02b3b6be91c (patch)
tree79985df1002fc7365eec574f8ac0683f713541da /src/H5Shyper.c
parent2ae1a93354a13c277963c63d014bc12e2035ebaf (diff)
downloadhdf5-da3602be5d58b39b03f182d7db77a02b3b6be91c.zip
hdf5-da3602be5d58b39b03f182d7db77a02b3b6be91c.tar.gz
hdf5-da3602be5d58b39b03f182d7db77a02b3b6be91c.tar.bz2
[svn-r9653] Purpose: Bug fix
Description: In file H5FDsec2.c and H5FDlog.c, there's statements like H5_ASSIGN_OVERFLOW(file->eof,sb.st_size,off_t,haddr_t); It assumes sb.st_size from h5_stat_t is of type off_t. But on Windows, it has type __int64. So the H5_ASSIGN_OVERFLOW statement may cause problem. Instead of trying to do switch between Windows and other systems in H5FDsec2.c and H5FDlog.c, define a substituting type in H5private.h to fix the problem. On Windows, this type is __int64; on other systems, it is off_t. Platforms tested: h5committest
Diffstat (limited to 'src/H5Shyper.c')
0 files changed, 0 insertions, 0 deletions