Skip to content

Commit 7d7ba99

Browse files
committed
da1H5EtoEMS: Change format specifier for line
This changes the print format specifier from %zu to %u for the line number because H5E_error2_t.line is just of type "unsigned". (Partially reverts 5ac204d.)
1 parent bc5ba71 commit 7d7ba99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dat1H5EtoEMS.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ custom_print_cb(unsigned int n, const H5E_error2_t *err_desc, void* client_data)
154154
H5Eget_msg(err_desc->min_num, NULL, min, MSG_SIZE);
155155

156156
emsRepf("HDF5_INTERNAL_2",
157-
"%s-DIAG #%03u: %s line %zu in %s()%s%s",
157+
"%s-DIAG #%03u: %s line %u in %s()%s%s",
158158
eprint->status,
159159
cls, n, err_desc->file_name, err_desc->line, err_desc->func_name,
160160
(have_desc ? ": " : ""),

0 commit comments

Comments
 (0)