summaryrefslogtreecommitdiffstats
path: root/perform/chunk.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-02-17 02:51:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-02-17 02:51:21 (GMT)
commitb8dbd390db9b47e73c6120ba61724b1e20ab333d (patch)
tree1fbcef76bf2cc480c2a57e5e26b599f82d85bc7c /perform/chunk.c
parent855aa23823a1091262524773626de3d920838e72 (diff)
downloadhdf5-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/chunk.c')
-rw-r--r--perform/chunk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/perform/chunk.c b/perform/chunk.c
index 9366c98..db2db14 100644
--- a/perform/chunk.c
+++ b/perform/chunk.c
@@ -371,7 +371,7 @@ main (void)
cache_size+=RM_CACHE_DELT) {
for (io_percent=RM_START; io_percent<=RM_END; io_percent+=RM_DELTA) {
io_size = MAX (1, (size_t)(CH_SIZE*io_percent));
- printf ("Rowmaj-rd %8d %8.2f", cache_size, io_percent);
+ printf ("Rowmaj-rd %8d %8.2f", (int)cache_size, io_percent);
fflush (stdout);
effic = test_rowmaj (READ, cache_size, io_size);
printf (" %8.2f\n", effic);
@@ -417,7 +417,7 @@ main (void)
cache_size+=RM_CACHE_DELT) {
for (io_percent=RM_START; io_percent<=RM_END; io_percent+=RM_DELTA) {
io_size = MAX (1, (size_t)(CH_SIZE*io_percent));
- printf ("Rowmaj-wr %8d %8.2f", cache_size, io_percent);
+ printf ("Rowmaj-wr %8d %8.2f", (int)cache_size, io_percent);
fflush (stdout);
effic = test_rowmaj (WRITE, cache_size, io_size);
printf (" %8.2f\n", effic);
@@ -462,7 +462,7 @@ main (void)
io_percent<=DIAG_END;
io_percent+=DIAG_DELTA) {
io_size = MAX (1, (size_t)(CH_SIZE*io_percent));
- printf ("Diag-rd %8d %8.2f", cache_size, io_percent);
+ printf ("Diag-rd %8d %8.2f", (int)cache_size, io_percent);
fflush (stdout);
effic = test_diag (READ, cache_size, io_size, MAX (1, io_size/2));
printf (" %8.2f\n", effic);
@@ -507,7 +507,7 @@ main (void)
io_percent<=DIAG_END;
io_percent+=DIAG_DELTA) {
io_size = MAX (1, (size_t)(CH_SIZE*io_percent));
- printf ("Diag-wr %8d %8.2f", cache_size, io_percent);
+ printf ("Diag-wr %8d %8.2f", (int)cache_size, io_percent);
fflush (stdout);
effic = test_diag (WRITE, cache_size, io_size, MAX (1, io_size/2));
printf (" %8.2f\n", effic);