diff options
Diffstat (limited to 'engines/glk/alan3/container.cpp')
-rw-r--r-- | engines/glk/alan3/container.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/alan3/container.cpp b/engines/glk/alan3/container.cpp index b9508f55db..365455c0ce 100644 --- a/engines/glk/alan3/container.cpp +++ b/engines/glk/alan3/container.cpp @@ -101,7 +101,7 @@ bool passesContainerLimits(Aint theContainer, Aint theAddedInstance) { if (containers[props].limits != 0) { /* Any limits at all? */ for (limit = (LimitEntry *) pointerTo(containers[props].limits); !isEndOfArray(limit); limit++) - if (limit->atr == 1-I_COUNT) { /* TODO This is actually some encoding of the attribute number, right? */ + if ((int)limit->atr == 1-I_COUNT) { /* TODO This is actually some encoding of the attribute number, right? */ if (countInContainer(theContainer) >= (int)limit->val) { interpret(limit->stms); return(FALSE); |