Fix gcc warning about an comparison which is always false due to data type range.
svn-id: r49484
This commit is contained in:
parent
d5b5a8dbae
commit
8ef5d55edb
1 changed files with 1 additions and 1 deletions
|
@ -1073,7 +1073,7 @@ void ResourceManager::processPatch(ResourceSource *source, ResourceType restype,
|
|||
byte patchtype, patch_data_offset;
|
||||
int fsize;
|
||||
|
||||
if (resnumber == -1)
|
||||
if (resnumber == 0xFFFF)
|
||||
return;
|
||||
|
||||
if (source->resourceFile) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue