aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/vm_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm_types.h b/engines/sci/engine/vm_types.h
index 6152501f46..ba8a4d7057 100644
--- a/engines/sci/engine/vm_types.h
+++ b/engines/sci/engine/vm_types.h
@@ -69,7 +69,7 @@ typedef int Selector;
#define PRINT_STK(v) (unsigned) (v - s->stack_base)
-static inline reg_t make_reg(int segment, int offset) {
+static inline reg_t make_reg(SegmentId segment, int16 offset) {
reg_t r;
r.offset = offset;
r.segment = segment;