diff options
Diffstat (limited to 'engines/gob/script.cpp')
-rw-r--r-- | engines/gob/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/script.cpp b/engines/gob/script.cpp index e27ecda968..339199c9b1 100644 --- a/engines/gob/script.cpp +++ b/engines/gob/script.cpp @@ -210,7 +210,7 @@ char *Script::readString(int32 length) { while (_totPtr[length++] != '\0') { } } - char *string = (char *) _totPtr; + char *string = (char *)_totPtr; _totPtr += length; @@ -262,7 +262,7 @@ int32 Script::peekInt32(int32 offset) { } char *Script::peekString(int32 offset) { - return (char *) (_totPtr + offset); + return (char *)(_totPtr + offset); } int16 Script::readVarIndex(uint16 *size, uint16 *type) { |