mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
Fix aliasing issue.
This commit is contained in:
parent
59d9ff0d29
commit
d221c480e6
4
file.c
4
file.c
@ -273,10 +273,10 @@ void save_ram_file(const char* path, int type)
|
|||||||
|
|
||||||
static char* load_xml_map(const char *path)
|
static char* load_xml_map(const char *path)
|
||||||
{
|
{
|
||||||
char *xml_buf = NULL;
|
void *xml_buf = NULL;
|
||||||
if (*path)
|
if (*path)
|
||||||
{
|
{
|
||||||
if (read_file(path, (void**)&xml_buf) < 0)
|
if (read_file(path, &xml_buf) < 0)
|
||||||
SSNES_LOG("Did not find XML memory map in \"%s\"\n", path);
|
SSNES_LOG("Did not find XML memory map in \"%s\"\n", path);
|
||||||
else
|
else
|
||||||
SSNES_LOG("Found XML memory map in \"%s\"\n", path);
|
SSNES_LOG("Found XML memory map in \"%s\"\n", path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user