summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-11-21 16:23:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-11-21 16:23:38 (GMT)
commitbc2d9432b3f05f21f0244c3da48bc8da98003485 (patch)
tree3c0d9a8dec330f397a861c83798d6a4e2c9fada3 /src
parentf3674477db1c2f7566a85eaa2fd19ebebb7a3ee8 (diff)
downloadhdf5-bc2d9432b3f05f21f0244c3da48bc8da98003485.zip
hdf5-bc2d9432b3f05f21f0244c3da48bc8da98003485.tar.gz
hdf5-bc2d9432b3f05f21f0244c3da48bc8da98003485.tar.bz2
[svn-r6131] Purpose:
Code cleanup Description: Clean up compiler warnings from IRIX64 builds. Platforms tested: IRIX64 6.5 (modi4)
Diffstat (limited to 'src')
-rw-r--r--src/H5I.c2
-rw-r--r--src/H5Oplist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5I.c b/src/H5I.c
index 65d7a90..b2a0eac 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -1168,7 +1168,7 @@ H5Iget_name(hid_t id, char *name/*out*/, size_t size)
} /* end if */
/* Set return value */
- ret_value=len;
+ ret_value=(ssize_t)len;
done:
FUNC_LEAVE(ret_value);
diff --git a/src/H5Oplist.c b/src/H5Oplist.c
index 277fdd8..83e9500 100644
--- a/src/H5Oplist.c
+++ b/src/H5Oplist.c
@@ -370,7 +370,7 @@ H5O_plist_encode(H5F_t UNUSED *f, uint8_t *p, const void *mesg)
}
}
- fprintf(stderr, "number of bytes == %d\n", p - old);
+ fprintf(stderr, "number of bytes == %u\n", (unsigned)(p - old));
done:
FUNC_LEAVE(ret_value);