use READ_UINT16 macro
svn-id: r42780
This commit is contained in:
parent
7d238d8779
commit
81b508e98a
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ int loadFNTSub(uint8 *ptr, int destIdx) {
|
|||
|
||||
currentPtr = destPtr + 14;
|
||||
|
||||
for (i = 0; i < *(int16 *)(destPtr + 8); i++) {
|
||||
for (i = 0; i < (int16)READ_UINT16(destPtr + 8); i++) {
|
||||
bigEndianLongToNative((int32 *) currentPtr);
|
||||
currentPtr += 4;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue