summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5util.c
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/jni/h5util.c')
-rw-r--r--java/src/jni/h5util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c
index 0b01411..c05fee6 100644
--- a/java/src/jni/h5util.c
+++ b/java/src/jni/h5util.c
@@ -1059,7 +1059,7 @@ h5str_sprintf(JNIEnv *env, h5str_t *out_str, hid_t container, hid_t tid, void *i
H5_LIBRARY_ERROR(ENVONLY);
/* Print object data and close object */
- if (HDsprintf(this_str, "%u-%lu", (unsigned)oi.type, oi.addr) < 0)
+ if (HDsprintf(this_str, "%u-%llu", (unsigned)oi.type, oi.addr) < 0)
H5_JNI_FATAL_ERROR(ENVONLY, "h5str_sprintf: HDsprintf failure");
if (H5Oclose(obj) < 0)