diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2015-04-21 14:58:43 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2015-04-21 14:58:43 (GMT) |
commit | 65b3bc2a937337239ceede5e39261c6b2ba4dc69 (patch) | |
tree | c6139980f34978fefe3fad3c756d4916f4d7d389 /tools/lib | |
parent | 3f36df51d845a93e94fff264fa22ad60a71db754 (diff) | |
download | hdf5-65b3bc2a937337239ceede5e39261c6b2ba4dc69.zip hdf5-65b3bc2a937337239ceede5e39261c6b2ba4dc69.tar.gz hdf5-65b3bc2a937337239ceede5e39261c6b2ba4dc69.tar.bz2 |
[svn-r26861] Bring revisions #26401 - #26459 from trunk to revise_chunks.
h5committested.
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5tools_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index 7247e3c..eb52bc5 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -755,7 +755,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai float tempfloat; HDmemcpy(&tempfloat, vp, sizeof(float)); - h5tools_str_append(str, OPT(info->fmt_float, "%g"), tempfloat); + h5tools_str_append(str, OPT(info->fmt_float, "%g"), (double)tempfloat); } else if (sizeof(double) == nsize) { /* if (H5Tequal(type, H5T_NATIVE_DOUBLE)) */ |