diff options
author | yinsimei | 2017-07-10 21:44:14 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | f8e1fe006433124f7cd82691d37011127297ec42 (patch) | |
tree | 851e6982a5bd16c2b78c5d881a56bfb0ccc17b6d /engines/sludge/thumbnail.cpp | |
parent | cc727710b45a2d3d3c51139b76976c352d9e8449 (diff) | |
download | scummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.tar.gz scummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.tar.bz2 scummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.zip |
SLUDGE: replace int types to scummvm defined ones
Diffstat (limited to 'engines/sludge/thumbnail.cpp')
-rw-r--r-- | engines/sludge/thumbnail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |