aboutsummaryrefslogtreecommitdiff
path: root/engines/tony
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony')
-rw-r--r--engines/tony/custom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/custom.cpp b/engines/tony/custom.cpp
index 3e8f0b95e6..b1b660c423 100644
--- a/engines/tony/custom.cpp
+++ b/engines/tony/custom.cpp
@@ -2145,7 +2145,7 @@ DECLARE_CUSTOM_FUNCTION(StartDialog)(CORO_PARAM, uint32 nDialog, uint32 nStartGr
// Wait until a choice is selected
mpalQueryDialogWaitForChoice(&_ctx->nChoice);
- while (_ctx->nChoice != -1) {
+ while (_ctx->nChoice != (uint32)-1) {
// Si fa dare la lista di opzioni e le conta
_ctx->sl = mpalQueryDialogSelectList(_ctx->nChoice);
for (_ctx->num = 0; _ctx->sl[_ctx->num] != 0; _ctx->num++)