Using PRId64 in place of %ld in chunk.c
@@ -348,7 +348,7 @@ extract_chunk_leader (
return ctxt->print_error (
ctxt,
EXR_ERR_BAD_CHUNK_LEADER,
- "Invalid chunk size reconstructing chunk table: found out of range %ld",
+ "Invalid chunk size reconstructing chunk table: found out of range %"PRId64,
leaderdata->deep_data[1]);
}
leaderdata->packed_size = leaderdata->deep_packed_size;
