[Scummvm-git-logs] scummvm master -> db0367a9c37c4aea8222b9f5752c71e1ef5b571f

digitall 547637+digitall at users.noreply.github.com
Mon Jun 15 18:46:39 UTC 2020


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:
db0367a9c3 GLK: COMPREHEND: Fix compiler warning


Commit: db0367a9c37c4aea8222b9f5752c71e1ef5b571f
    https://github.com/scummvm/scummvm/commit/db0367a9c37c4aea8222b9f5752c71e1ef5b571f
Author: jepael (jepael at users.noreply.github.com)
Date: 2020-06-15T19:46:35+01:00

Commit Message:
GLK: COMPREHEND: Fix compiler warning

Changed paths:
    engines/glk/comprehend/draw_surface.cpp


diff --git a/engines/glk/comprehend/draw_surface.cpp b/engines/glk/comprehend/draw_surface.cpp
index dbaaa08642..fd06a8431b 100644
--- a/engines/glk/comprehend/draw_surface.cpp
+++ b/engines/glk/comprehend/draw_surface.cpp
@@ -334,7 +334,7 @@ void Surface::drawPixel(int16 x, int16 y, uint32 color) {
 
 uint32 Surface::getPixelColor(int16 x, int16 y) const {
 	assert(x >= 0 && y >= 0 && x < this->w && y < this->h);
-	const uint32 *ptr = (uint32 *)getBasePtr(x, y);
+	const uint32 *ptr = (const uint32 *)getBasePtr(x, y);
 	return *ptr;
 }
 




More information about the Scummvm-git-logs mailing list