diff options
author | Sven Hesse | 2006-04-18 12:55:01 +0000 |
---|---|---|
committer | Sven Hesse | 2006-04-18 12:55:01 +0000 |
commit | b4e5e18201595b60192d0ff9c28073b688aa7b65 (patch) | |
tree | 4bd4fa00c9eaab141db039a1e64f4194108848dc /engines/gob/draw_v2.cpp | |
parent | 4d2f4a9f797e8beabad868164b203fbc3e5625e1 (diff) | |
download | scummvm-rg350-b4e5e18201595b60192d0ff9c28073b688aa7b65.tar.gz scummvm-rg350-b4e5e18201595b60192d0ff9c28073b688aa7b65.tar.bz2 scummvm-rg350-b4e5e18201595b60192d0ff9c28073b688aa7b65.zip |
Fixed portability issue
svn-id: r22006
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r-- | engines/gob/draw_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index f2468766b0..ec57577eca 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -330,7 +330,7 @@ void Draw_v2::printText(void) { case 10: // loc_12C93 str[0] = (char)255; - *((int16*)(str+1)) = ptr - (char *)_vm->_game->_totTextData; + WRITE_LE_UINT16((uint16*)(str+1), ptr - (char *)_vm->_game->_totTextData); str[3] = 0; ptr++; i = *ptr++; |