Skip to content

Commit 9f226d5

Browse files
Switch from %ld to %zu for size_t vars in JPEG/example/h5ex_d_jpeg.c
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent b9af703 commit 9f226d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JPEG/example/h5ex_d_jpeg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ main(void)
187187
switch (filter_id) {
188188
case H5Z_FILTER_JPEG:
189189
printf("%d\n", filter_id);
190-
printf(" Number of parameters is %ld with the value %u\n", nelmts, values_out[0]);
190+
printf(" Number of parameters is %zu with the value %u\n", nelmts, values_out[0]);
191191
printf(" To find more about the filter check %s\n", filter_name);
192192
break;
193193
default:

0 commit comments

Comments
 (0)