aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/gfx_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/include/gfx_resource.h')
-rw-r--r--engines/sci/include/gfx_resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/include/gfx_resource.h b/engines/sci/include/gfx_resource.h
index 8632710556..b6c9385035 100644
--- a/engines/sci/include/gfx_resource.h
+++ b/engines/sci/include/gfx_resource.h
@@ -424,13 +424,13 @@ gfxr_endianness_adjust(gfx_pixmap_t *pixmap, gfx_mode_t *mode);
static inline int
-get_uint_16(byte *offset)
+get_uint_16(const byte *offset)
{
return ((unsigned int) offset[0] | (((unsigned int) offset[1]) << 8));
}
static inline int
-get_int_16(byte *offset)
+get_int_16(const byte *offset)
{
return ((int) offset[0] | (((int) offset[1]) << 8));
}