diff options
Diffstat (limited to 'engines/wintermute/Base/scriptables/SXFile.cpp')
-rw-r--r-- | engines/wintermute/Base/scriptables/SXFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/Base/scriptables/SXFile.cpp b/engines/wintermute/Base/scriptables/SXFile.cpp index 83e9302678..58768db80f 100644 --- a/engines/wintermute/Base/scriptables/SXFile.cpp +++ b/engines/wintermute/Base/scriptables/SXFile.cpp @@ -271,7 +271,7 @@ HRESULT CSXFile::scCallMethod(CScScript *script, CScStack *stack, CScStack *this byte b;
HRESULT ret = E_FAIL;
- while (counter < textLen) {
+ while (counter < (uint32)textLen) {
ret = _readFile->read(&b, 1);
if (ret != 1) break;
|