diff options
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/journal.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/journal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp index 3312422b92..a30734c4f5 100644 --- a/engines/sherlock/journal.cpp +++ b/engines/sherlock/journal.cpp @@ -706,7 +706,7 @@ void Journal::loadJournalFile(bool alreadyLoaded) { } } -bool Journal::isPrintable(char ch) const { +bool Journal::isPrintable(byte ch) const { Talk &talk = *_vm->_talk; const byte *opcodes = talk._opcodes; diff --git a/engines/sherlock/journal.h b/engines/sherlock/journal.h index 0bd277aced..bacd9fa8b5 100644 --- a/engines/sherlock/journal.h +++ b/engines/sherlock/journal.h @@ -76,7 +76,7 @@ protected: /** * Returns true if a given character is printable */ - bool isPrintable(char ch) const; + bool isPrintable(byte ch) const; public: static Journal *init(SherlockEngine *vm); virtual ~Journal() {} |