mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Update
This commit is contained in:
parent
b56f880c44
commit
271f4b6f8d
@ -29,7 +29,7 @@ void *memalign_alloc(size_t boundary, size_t size)
|
|||||||
{
|
{
|
||||||
void **place = NULL;
|
void **place = NULL;
|
||||||
uintptr_t addr = 0;
|
uintptr_t addr = 0;
|
||||||
void *ptr = malloc(boundary + size + sizeof(uintptr_t));
|
void *ptr = (void*)malloc(boundary + size + sizeof(uintptr_t));
|
||||||
if (!ptr)
|
if (!ptr)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user