GRAPHICS: Fix warnings about mismatching format arguments.

This commit is contained in:
Johannes Schickel 2013-08-12 16:43:35 +02:00
parent 81e1d0963f
commit a2a5d42a58

View File

@ -588,7 +588,7 @@ blendPixelPtr(PixelType *ptr, PixelType color, uint8 alpha) {
(int)(idst & _blueMask)) * alpha) >> 8))) |
(idst & _alphaMask));
} else {
error("Unsupported BPP format: %d", sizeof(PixelType));
error("Unsupported BPP format: %u", (uint)sizeof(PixelType));
}
}