summaryrefslogtreecommitdiffstats
path: root/tools/h5format_convert/h5fc_gentest.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-11-20 23:33:24 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-11-20 23:33:24 (GMT)
commitc327c727cf633192e64bf90405f581454de770b3 (patch)
tree9264bb1a59cbb131e4f34167d0abc4e489d77fa9 /tools/h5format_convert/h5fc_gentest.c
parente8ad6b8a8d9d93b50a65039a74e33e4f337efb70 (diff)
downloadhdf5-c327c727cf633192e64bf90405f581454de770b3.zip
hdf5-c327c727cf633192e64bf90405f581454de770b3.tar.gz
hdf5-c327c727cf633192e64bf90405f581454de770b3.tar.bz2
[svn-r28431] Misc warning and cleanup fixes.
Tested on Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only
Diffstat (limited to 'tools/h5format_convert/h5fc_gentest.c')
-rw-r--r--tools/h5format_convert/h5fc_gentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5format_convert/h5fc_gentest.c b/tools/h5format_convert/h5fc_gentest.c
index 2a8fa3e..4dcc286 100644
--- a/tools/h5format_convert/h5fc_gentest.c
+++ b/tools/h5format_convert/h5fc_gentest.c
@@ -589,7 +589,7 @@ gen_edge(const char *fname)
/* Create data */
for (i = 0; i< 12; i++)
for (j = 0; j< 6; j++)
- buf[i][j] = (float)(100.0);
+ buf[i][j] = 100.0F;
/* Write to the dataset */
if(H5Dwrite(did, H5T_NATIVE_FLOAT, H5S_ALL, H5S_ALL, H5P_DEFAULT, buf) < 0)