From a72e85d52a1e96cd9750bd8e7f271b3ecc68c10c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 4 Aug 2000 15:48:09 -0500 Subject: [svn-r2463] Fixed a comparison between unsigned and signed value. Cast both to unsigned long. Hope this is enough :). --- test/big.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/big.c b/test/big.c index 463b5cc..66d5870 100644 --- a/test/big.c +++ b/test/big.c @@ -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 -- cgit v0.12