diff --git a/rtl/emx/systhrd.inc b/rtl/emx/systhrd.inc index 9eb1d4c723..f7ca2f1dbf 100644 --- a/rtl/emx/systhrd.inc +++ b/rtl/emx/systhrd.inc @@ -25,7 +25,7 @@ const pag_Guard = 8; pag_Commit = $10; obj_Tile = $40; - sem_Indefinite_Wait = -1; + sem_Indefinite_Wait = cardinal (-1); dtSuspended = 1; dtStack_Commited = 2;