diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-08-13 09:23:53 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-08-13 09:23:53 (GMT) |
commit | f40381b0eab242182a02b0bb97aed88b37095086 (patch) | |
tree | 600c15466f4bbb9576ccc78f82287e5e6c78612b /test/tchecksum.c | |
parent | ae0b7490126e45e312b63a27b499e5a25e402f40 (diff) | |
download | hdf5-f40381b0eab242182a02b0bb97aed88b37095086.zip hdf5-f40381b0eab242182a02b0bb97aed88b37095086.tar.gz hdf5-f40381b0eab242182a02b0bb97aed88b37095086.tar.bz2 |
[svn-r30285] Description:
More warning cleanups, bringing the build down to 25 unique types of
warnings, with 550 warnings in 122 files (down from 28, 770, and 134).
Tested on:
MacOSX/64 10.11.5 (amazon) w/serial & parallel
(h5committest forthcoming)
Diffstat (limited to 'test/tchecksum.c')
-rw-r--r-- | test/tchecksum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tchecksum.c b/test/tchecksum.c index cb7c023..ca6c227 100644 --- a/test/tchecksum.c +++ b/test/tchecksum.c @@ -189,7 +189,7 @@ test_chksum_large(void) /* Initialize buffer w/known data */ for(u = 0; u < BUF_LEN; u++) - large_buf[u] = u * 3; + large_buf[u] = (uint8_t)(u * 3); /* Buffer w/real data */ chksum = H5_checksum_fletcher32(large_buf, sizeof(large_buf)); @@ -247,7 +247,7 @@ test_checksum(void) * *------------------------------------------------------------------------- */ -H5_ATTR_PURE void +H5_ATTR_PURE H5_ATTR_CONST void cleanup_checksum(void) { /* no file to clean */ |