mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-29 23:42:14 +00:00
retro_file.c - CXX_BUILD buildfix
This commit is contained in:
parent
4d74f6edef
commit
74464f1843
@ -228,7 +228,7 @@ RFILE *retro_fopen(const char *path, unsigned mode, ssize_t len)
|
||||
|
||||
retro_frewind(stream);
|
||||
|
||||
stream->mapped = mmap((void*)0, stream->mapsize, PROT_READ, MAP_SHARED, stream->fd, 0);
|
||||
stream->mapped = (uint8_t*)mmap((void*)0, stream->mapsize, PROT_READ, MAP_SHARED, stream->fd, 0);
|
||||
|
||||
if (stream->mapped == MAP_FAILED)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user