mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 01:52:43 +00:00
Fix warnings
This commit is contained in:
parent
def597ee7d
commit
f06d75017c
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ void smlua_cobject_allowlist_add(u16 lot, u64 pointer) {
|
|||
}
|
||||
|
||||
if (!hmap_get(sObjectAllowList[m], pointer)) {
|
||||
hmap_put(sObjectAllowList[m], pointer, 1);
|
||||
hmap_put(sObjectAllowList[m], pointer, (void*)1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ void smlua_cpointer_allowlist_add(u16 lvt, u64 pointer) {
|
|||
}
|
||||
|
||||
if (!hmap_get(sPointerAllowList[lvt], pointer)) {
|
||||
hmap_put(sPointerAllowList[lvt], pointer, 1);
|
||||
hmap_put(sPointerAllowList[lvt], pointer, (void*)1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue