aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/prince/cursor.h')
-rw-r--r--engines/prince/cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/cursor.h b/engines/prince/cursor.h
index 05c7da9f33..70516519e6 100644
--- a/engines/prince/cursor.h
+++ b/engines/prince/cursor.h
@@ -37,7 +37,7 @@ public:
~Cursor();
bool loadFromStream(Common::SeekableReadStream &stream);
- Graphics::Surface *getSurface() const { return _surface; }
+ const Graphics::Surface *getSurface() const { return _surface; }
private:
Graphics::Surface *_surface;