[Scummvm-git-logs] scummvm master -> 9d1a1c8b985c84ce729f257ff8d7ad9763dfd3dd
digitall
noreply at scummvm.org
Sat Apr 16 00:30:37 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9d1a1c8b98 GLK: SCOTT: Fix Mismatched Format String Type Compiler Warning
Commit: 9d1a1c8b985c84ce729f257ff8d7ad9763dfd3dd
https://github.com/scummvm/scummvm/commit/9d1a1c8b985c84ce729f257ff8d7ad9763dfd3dd
Author: D G Turner (digitall at scummvm.org)
Date: 2022-04-16T01:30:00+01:00
Commit Message:
GLK: SCOTT: Fix Mismatched Format String Type Compiler Warning
Changed paths:
engines/glk/scott/line_drawing.cpp
diff --git a/engines/glk/scott/line_drawing.cpp b/engines/glk/scott/line_drawing.cpp
index dcae2152790..e3437a3a043 100644
--- a/engines/glk/scott/line_drawing.cpp
+++ b/engines/glk/scott/line_drawing.cpp
@@ -173,7 +173,7 @@ void drawVectorPicture(int image) {
uint8_t opcode = 0;
while (((p < _G(_lineImages)[image]._data) || static_cast<size_t>(p - _G(_lineImages)[image]._data) < _G(_lineImages)[image]._size) && opcode != 0xff) {
if (p > _G(_entireFile) + _G(_fileLength)) {
- error("Out of range! Opcode: %x. Image: %d. LineImages[%d].size: %zu\n", opcode, image, image, _G(_lineImages)[image]._size);
+ error("Out of range! Opcode: %x. Image: %d. LineImages[%d].size: %llu\n", opcode, image, image, _G(_lineImages)[image]._size);
break;
}
opcode = *(p++);
More information about the Scummvm-git-logs
mailing list