summaryrefslogtreecommitdiffstats
path: root/test/istore.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-08-25 08:30:32 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-08-25 08:30:32 (GMT)
commit22d00ce23f0c39789d146e440d8b251b0c6b2268 (patch)
tree82a49a68d53bf1a3c1967c92fb5c9086e86b07bc /test/istore.c
parent0a965d2236a811f66ff42df732031a150e1020ac (diff)
downloadhdf5-22d00ce23f0c39789d146e440d8b251b0c6b2268.zip
hdf5-22d00ce23f0c39789d146e440d8b251b0c6b2268.tar.gz
hdf5-22d00ce23f0c39789d146e440d8b251b0c6b2268.tar.bz2
[svn-r9155] Purpose:
Bug fix (sorta) Description: Change reading of "missing" chunks from datasets with undefined fill values to not overwrite the application buffer with random garbage from memory. Note that this is almost the same, since whatever garbage the application had in those locations will still be there... Platforms tested: FreeBSD 4.10 (sleipnir) IRIX64 6.5 (modi4) h5committested
Diffstat (limited to 'test/istore.c')
-rw-r--r--test/istore.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/istore.c b/test/istore.c
index 0830ff4..f7baf31 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -298,17 +298,17 @@ test_extend(hid_t f, const char *prefix,
#if 0
if (0 == ctr)
fprintf(stderr,"\n");
- fprintf(stderr," Insert: ctr=%d, corner=(%d", ctr, offset[0]);
+ fprintf(stderr," Insert: ctr=%lu, corner=(%ld", (unsigned long)ctr, (long)offset[0]);
if (ndims > 1)
- fprintf(stderr,",%d", offset[1]);
+ fprintf(stderr,",%ld", (long)offset[1]);
if (ndims > 2)
- fprintf(stderr,",%d", offset[2]);
- fprintf(stderr,"), size=(%d", size[0]);
+ fprintf(stderr,",%ld", (long)offset[2]);
+ fprintf(stderr,"), size=(%lu", (unsigned long)size[0]);
if (ndims > 1)
- fprintf(stderr,",%d", size[1]);
+ fprintf(stderr,",%lu", (unsigned long)size[1]);
if (ndims > 2)
- fprintf(stderr,",%d", size[2]);
- fprintf(stderr,"), %d element%s", nelmts, 1 == nelmts ? "" : "s");
+ fprintf(stderr,",%lu", (unsigned long)size[2]);
+ fprintf(stderr,"), %lu element%s", (unsigned long)nelmts, 1 == nelmts ? "" : "s");
if (0 == nelmts)
fprintf(stderr," *SKIPPED*");
fprintf(stderr,"\n");