diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-18 20:22:10 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-18 20:22:10 (GMT) |
commit | d41b9fffdfca2e97c36bc0ad0899fbb7b055f926 (patch) | |
tree | 51ed39b08a41a4f6947af07630eb40dfdb013d87 /tools/h5ls | |
parent | fcaf572430a8eda3f6519bd21311ef7a8e3c3c1f (diff) | |
download | hdf5-d41b9fffdfca2e97c36bc0ad0899fbb7b055f926.zip hdf5-d41b9fffdfca2e97c36bc0ad0899fbb7b055f926.tar.gz hdf5-d41b9fffdfca2e97c36bc0ad0899fbb7b055f926.tar.bz2 |
[svn-r4012] Purpose:
Clean up compiler warnings.
Description:
Just code neatening mostly, some casts, etc.
Platforms tested:
FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'tools/h5ls')
-rw-r--r-- | tools/h5ls/h5ls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 5a2b0a1..5cd92cd 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -847,10 +847,10 @@ display_enum_type(hid_t type, int ind) printf("%02x", value[i*dst_size+j]); } } else if (H5T_SGN_NONE==H5Tget_sign(native)) { - printf("%"PRINTF_LL_WIDTH"u", + HDfprintf(stdout,"%"PRINTF_LL_WIDTH"u", *((unsigned long_long*)((void*)(value+i*dst_size)))); } else { - printf("%"PRINTF_LL_WIDTH"d", + HDfprintf(stdout,"%"PRINTF_LL_WIDTH"d", *((long_long*)((void*)(value+i*dst_size)))); } } |