diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-08-04 20:48:09 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-08-04 20:48:09 (GMT) |
commit | a72e85d52a1e96cd9750bd8e7f271b3ecc68c10c (patch) | |
tree | ae2194dc4b4c6def07124b8dc93c5bc58c2c04c0 /test/big.c | |
parent | 37502003540e915215abf5b6a9df80daf8d874e4 (diff) | |
download | hdf5-a72e85d52a1e96cd9750bd8e7f271b3ecc68c10c.zip hdf5-a72e85d52a1e96cd9750bd8e7f271b3ecc68c10c.tar.gz hdf5-a72e85d52a1e96cd9750bd8e7f271b3ecc68c10c.tar.bz2 |
[svn-r2463] Fixed a comparison between unsigned and signed value. Cast both to
unsigned long. Hope this is enough :).
Diffstat (limited to 'test/big.c')
-rw-r--r-- | test/big.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ is_sparse(void) if (stat("x.h5", &sb)<0) return 0; if (unlink("x.h5")<0) return 0; #ifdef HAVE_STAT_ST_BLOCKS - return (sb.st_blocks*512 < (unsigned)sb.st_size); + return ((unsigned long)sb.st_blocks*512 < (unsigned long)sb.st_size); #else return (0); #endif |