[svn-r26438] Fixed some double promotion warnings from gcc 4.9.2. Most were in

format strings.

Tested on: h5committest
This commit is contained in:
Dana Robinson
2015-03-11 17:51:14 -05:00
parent 88ac8e8929
commit 7659506fa8
11 changed files with 46 additions and 46 deletions

View File

@@ -3563,7 +3563,7 @@ xml_dump_fill_value(hid_t dcpl, hid_t type)
/* Render the element */
h5tools_str_reset(&buffer);
h5tools_str_append(&buffer, "\"%f\"", *(float *) buf);
h5tools_str_append(&buffer, "\"%f\"", (double)*(float *)buf);
h5tools_render_element(rawoutstream, outputformat, &ctx, &buffer, &curr_pos, (size_t)outputformat->line_ncols, (hsize_t)0, (hsize_t)0);
ctx.need_prefix = TRUE;