mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Silence some warnings
This commit is contained in:
parent
4791174ea3
commit
b75aef372b
1 changed files with 2 additions and 2 deletions
|
@ -167,11 +167,11 @@ static void shuffle_block(char **begin, char **last, char **end)
|
|||
|
||||
retro_assert(tmp);
|
||||
|
||||
memcpy(tmp, begin, len * sizeof(const char*));
|
||||
memcpy((void*)tmp, begin, len * sizeof(const char*));
|
||||
memmove(begin, last, (end - last) * sizeof(const char*));
|
||||
memcpy(end - len, tmp, len * sizeof(const char*));
|
||||
|
||||
free(tmp);
|
||||
free((void*)tmp);
|
||||
}
|
||||
|
||||
int getopt_long(int argc, char *argv[],
|
||||
|
|
Loading…
Add table
Reference in a new issue