Skip to content

Commit

Permalink
Silence warning - second param for rc_alloc should be of type int32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Sep 14, 2024
1 parent b557bc9 commit 0a396f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/rcheevos/src/rcheevos/runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ int rc_runtime_activate_lboard(rc_runtime_t* self, uint32_t id, const char* mema
rc_lboard_t* lboard;
rc_parse_state_t parse;
rc_runtime_lboard_t* runtime_lboard;
int size;
int32_t size;
uint32_t i;

if (memaddr == 0)
Expand Down Expand Up @@ -834,7 +834,7 @@ void rc_runtime_invalidate_address(rc_runtime_t* self, uint32_t address) {
}
}

void rc_runtime_validate_addresses(rc_runtime_t* self, rc_runtime_event_handler_t event_handler,
void rc_runtime_validate_addresses(rc_runtime_t* self, rc_runtime_event_handler_t event_handler,
rc_runtime_validate_address_t validate_handler) {
rc_memref_t** last_memref = &self->memrefs;
rc_memref_t* memref = self->memrefs;
Expand Down

0 comments on commit 0a396f0

Please sign in to comment.