diff options
| -rw-r--r-- | engines/kyra/sequences_hof.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engines/kyra/sequences_hof.cpp b/engines/kyra/sequences_hof.cpp index 50b5db78fc..b27f0df137 100644 --- a/engines/kyra/sequences_hof.cpp +++ b/engines/kyra/sequences_hof.cpp @@ -2622,7 +2622,7 @@ void KyraEngine_HoF::seq_displayScrollText(uint8 *data, const ScreenDim *d, int  						while (*str2) {  							cChar[0] = *str2;  							_screen->printText(cChar, x, y, col1++, 0); -							x += _screen->getCharWidth(*str2++); +							x += _screen->getCharWidth((uint8)*str2++);  						}  						palCycle = true;  					} else if (!strcmp(str, specialData[1])) { @@ -2631,7 +2631,7 @@ void KyraEngine_HoF::seq_displayScrollText(uint8 *data, const ScreenDim *d, int  						while (*str2) {  							cChar[0] = *str2;  							_screen->printText(cChar, x, y, col1--, 0); -							x += _screen->getCharWidth(*str2++); +							x += _screen->getCharWidth((uint8)*str2++);  						}  						palCycle = true;  					} else { | 
