[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user