Skip to content

Commit 873c467

Browse files
Merge pull request #17728 from pstef/signed-slot
2 parents 2406935 + b995db6 commit 873c467

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

runloop.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7320,7 +7320,7 @@ bool runloop_get_savestate_path(char *s, size_t len, int state_slot)
73207320
return true;
73217321
}
73227322

7323-
bool runloop_get_replay_path(char *s, size_t len, unsigned slot)
7323+
bool runloop_get_replay_path(char *s, size_t len, int slot)
73247324
{
73257325
size_t _len;
73267326
runloop_state_t *runloop_st = &runloop_state;
@@ -7335,7 +7335,7 @@ bool runloop_get_replay_path(char *s, size_t len, unsigned slot)
73357335

73367336
_len = strlcpy(s, name_replay, len);
73377337
if (slot >= 0)
7338-
snprintf(s + _len, len - _len, "%d", slot);
7338+
snprintf(s + _len, len - _len, "%d", slot);
73397339

73407340
return true;
73417341
}

runloop.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ bool runloop_get_current_savestate_path(char *path, size_t len);
431431

432432
bool runloop_get_savestate_path(char *path, size_t len, int slot);
433433

434-
bool runloop_get_replay_path(char *path, size_t len, unsigned slot);
434+
bool runloop_get_replay_path(char *path, size_t len, int slot);
435435

436436
void runloop_state_free(runloop_state_t *runloop_st);
437437

0 commit comments

Comments
 (0)