From f8e1fe006433124f7cd82691d37011127297ec42 Mon Sep 17 00:00:00 2001 From: yinsimei Date: Mon, 10 Jul 2017 21:44:14 +0200 Subject: SLUDGE: replace int types to scummvm defined ones --- engines/sludge/thumbnail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sludge/thumbnail.cpp') diff --git a/engines/sludge/thumbnail.cpp b/engines/sludge/thumbnail.cpp index 74c77ff5b4..f28035b795 100644 --- a/engines/sludge/thumbnail.cpp +++ b/engines/sludge/thumbnail.cpp @@ -158,12 +158,12 @@ void showThumbnail(char *filename, int atX, int atY) { if (thumbnailTexture == NULL) return; int t1, t2; - unsigned short c; + uint16 c; GLubyte *target; for (t2 = 0; t2 < fileHeight; t2++) { t1 = 0; while (t1 < fileWidth) { - c = (unsigned short) fp->readUint16BE(); + c = (uint16) fp->readUint16BE(); target = thumbnailTexture + 4 * picWidth * t2 + t1 * 4; target[0] = (GLubyte) redValue(c); target[1] = (GLubyte) greenValue(c); -- cgit v1.2.3