From 8e1744d1ab4024ce40e5b3adb27ed765de1f7540 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 5 Apr 2003 20:10:54 +0000 Subject: updated and fixed for VC6 svn-id: r6916 --- sky/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sky') diff --git a/sky/text.cpp b/sky/text.cpp index 30440a8ae0..7423462e6e 100644 --- a/sky/text.cpp +++ b/sky/text.cpp @@ -97,7 +97,7 @@ void SkyState::getText(uint32 textNr) { //load text #"textNr" to _textBuffer uint32 fileNo = (sectionNo >> 2); fileNo += ((_language * NO_OF_TEXT_SECTIONS) + 60600); - _itemList[FIRST_TEXT_SEC + sectionNo] = (void *)loadFile(fileNo, NULL); + _itemList[FIRST_TEXT_SEC + sectionNo] = (void *)loadFile((uint16)fileNo, NULL); } uint8 *textItemPtr = (uint8 *)_itemList[FIRST_TEXT_SEC + sectionNo]; -- cgit v1.2.3