mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
GRIM: Fix warning due to the hash value now being unsigned
This commit is contained in:
parent
4dca903dc0
commit
11cce71b06
@ -53,7 +53,7 @@ static uintptr hashindex(TObject *ref) {
|
||||
lua_error("unexpected type to index table");
|
||||
h = 0; // to avoid warnings
|
||||
}
|
||||
return (h >= 0 ? h : -(h + 1));
|
||||
return h;
|
||||
}
|
||||
|
||||
int32 present(Hash *t, TObject *key) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user