summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 9beb469..191445a 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -845,10 +845,10 @@ display_enum_type(hid_t type, int ind)
}
} else if (H5T_SGN_NONE==H5Tget_sign(native)) {
printf("%"PRINTF_LL_WIDTH"u",
- *((unsigned long_long*)(value+i*dst_size)));
+ *((unsigned long_long*)((void*)(value+i*dst_size))));
} else {
printf("%"PRINTF_LL_WIDTH"d",
- *((long_long*)(value+i*dst_size)));
+ *((long_long*)((void*)(value+i*dst_size))));
}
}