summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-30 20:17:25 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-30 20:17:25 (GMT)
commit6e6366aec26b325317bdb2cbe90173b1509069bd (patch)
treeb2f39a407be83ff860fb47d140fc424d43b30f79 /src
parentb227b388533896337f436f01763ad26def14844c (diff)
downloadhdf5-6e6366aec26b325317bdb2cbe90173b1509069bd.zip
hdf5-6e6366aec26b325317bdb2cbe90173b1509069bd.tar.gz
hdf5-6e6366aec26b325317bdb2cbe90173b1509069bd.tar.bz2
[svn-r205] Changes since 19980130
---------------------- ./INSTALL ./Makefile.dist ./Makefile.in ./config/conclude.in Some stupid make's don't know what PHONY means. I added changed config to _config in the default makefile and added _test to the other makefiles. ./src/H5Psim.c A `file_offset' argument got changed to `int' accidently that causes tests to fail on 64-bit machines. I changed it back to size_t. ./src/H5T.c Changed a couple printf formats.
Diffstat (limited to 'src')
-rw-r--r--src/H5Psimp.c2
-rw-r--r--src/H5T.c11
2 files changed, 7 insertions, 6 deletions
diff --git a/src/H5Psimp.c b/src/H5Psimp.c
index c0e0c36..a6ecaf2 100644
--- a/src/H5Psimp.c
+++ b/src/H5Psimp.c
@@ -89,7 +89,7 @@ H5P_simp_fgath (H5F_t *f, const struct H5O_layout_t *layout,
const H5P_number_t *numbering, intn start, intn nelmts,
void *buf/*out*/)
{
- int file_offset[H5O_LAYOUT_NDIMS]; /*offset of slab in file*/
+ size_t file_offset[H5O_LAYOUT_NDIMS]; /*offset of slab in file*/
size_t hsize[H5O_LAYOUT_NDIMS]; /*size of hyperslab */
size_t zero[H5O_LAYOUT_NDIMS]; /*zero */
size_t sample[H5O_LAYOUT_NDIMS]; /*hyperslab sampling */
diff --git a/src/H5T.c b/src/H5T.c
index 97a7fac..8e52542 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -1,4 +1,5 @@
-/****************************************************************************
+/*
+ *
* NCSA HDF *
* Software Development Group *
* National Center for Supercomputing Applications *
@@ -3238,8 +3239,8 @@ H5T_debug(H5T_t *dt, FILE * stream)
break;
}
- fprintf(stream, "%s%s {nbytes=%d",
- s, dt->locked ? "[!]" : "", dt->size);
+ fprintf(stream, "%s%s {nbytes=%ul",
+ s, dt->locked ? "[!]" : "", (unsigned long)(dt->size));
if (H5T_is_atomic(dt)) {
switch (dt->u.atomic.order) {
@@ -3332,8 +3333,8 @@ H5T_debug(H5T_t *dt, FILE * stream)
if (dt->u.compnd.memb[i].ndims) {
fprintf(stream, "[");
for (j = 0; j < dt->u.compnd.memb[i].ndims; j++) {
- fprintf(stream, "%s%d", j ? ", " : "",
- dt->u.compnd.memb[i].dim[j]);
+ fprintf(stream, "%s%lu", j ? ", " : "",
+ (unsigned long)(dt->u.compnd.memb[i].dim[j]));
}
fprintf(stream, "]");
}