Fix bug in memory allocation function
This commit is contained in:
parent
775f0864a8
commit
b8f6e5f187
@ -75,7 +75,7 @@ void *wapp_mem_util_alloc(void *addr, u64 size, MemAccess access,
|
||||
#elif defined(WAPP_PLATFORM_POSIX)
|
||||
void *output = alloc_posix(addr, size, access, flags);
|
||||
#else
|
||||
return NULL;
|
||||
#error "Unrecognised platform"
|
||||
#endif
|
||||
|
||||
if (type == WAPP_MEM_INIT_INITIALISED) {
|
||||
|
Loading…
Reference in New Issue
Block a user