From 1cc326dda097ce13038c72469009206425266e2d Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 24 Sep 2009 10:30:05 +0000 Subject: Changed make_reg to accept the same type of parameters as a reg_t does - i.e. 16-bit integers, instead of 32-bit ones svn-id: r44302 --- engines/sci/engine/vm_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3