mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Buildfix
This commit is contained in:
parent
47ec7c0782
commit
57c790646f
@ -270,7 +270,7 @@ RHMAP__UNUSED static ptrdiff_t rhmap__idx(struct rhmap__hdr* hdr, uint32_t key,
|
||||
hdr->keys[i] = key;
|
||||
l = strlen(str);
|
||||
t = malloc(l + 1);
|
||||
memcpy(t, s, l);
|
||||
memcpy(t, str, l);
|
||||
t[l] = '\0';
|
||||
if (str)
|
||||
hdr->key_strs[i] = t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user