diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-02-17 02:51:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-02-17 02:51:21 (GMT) |
commit | b8dbd390db9b47e73c6120ba61724b1e20ab333d (patch) | |
tree | 1fbcef76bf2cc480c2a57e5e26b599f82d85bc7c /perform/overhead.c | |
parent | 855aa23823a1091262524773626de3d920838e72 (diff) | |
download | hdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.zip hdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.tar.gz hdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.tar.bz2 |
[svn-r4978] Purpose:
Code cleanup
Description:
Cleanup compiler warnings found by the SGI compiler and gcc 3.0
Platforms tested:
FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
Diffstat (limited to 'perform/overhead.c')
-rw-r--r-- | perform/overhead.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perform/overhead.c b/perform/overhead.c index 0723879..b0546ba 100644 --- a/perform/overhead.c +++ b/perform/overhead.c @@ -232,7 +232,7 @@ test(fill_t fill_style, const double splits[], break; case FILL_OUTWARD: j = (cur_size[0]-i)+1; - hs_start[0] = j%2 ? j/2 : cur_size[0]-j/2; + hs_start[0] = j%2 ? j/2 : (hssize_t)cur_size[0]-j/2; break; case FILL_RANDOM: for (j=rand()%cur_size[0]; had[j]; j=(j+1)%cur_size[0]) /*void*/; |