Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 3f91769

Browse files
committed
backport r4242 to branch 32
Fix compiler errors on gcc 4.6.3 due to mismatched format strings and integer types.
1 parent 3f02cc5 commit 3f91769

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/pagespeed/kernel/image/image_frame_interface.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ GoogleString FrameSpec::ToString() const {
9494
return StringPrintf(
9595
"Frame: size %u x %u at (%u, %u) "
9696
"pixel_format: %d, duration_ms: %lu, disposal: %d, progressive: %s",
97-
width, height, top, left, pixel_format, duration_ms, disposal,
97+
width, height, top, left, pixel_format,
98+
static_cast<unsigned long>(duration_ms), disposal,
9899
(hint_progressive ? "yes" : "no"));
99100
}
100101

0 commit comments

Comments
 (0)