mirror of
https://github.com/mmozeiko/pkg2zip.git
synced 2026-09-03 03:29:59 +03:00
better error messages & buffer alignment
This commit is contained in:
+2
-2
@@ -201,12 +201,12 @@ void* sys_realloc(void* ptr, size_t size)
|
||||
}
|
||||
else
|
||||
{
|
||||
fatal("error using sys_realloc function");
|
||||
fatal("ERROR: internal error, wrong sys_realloc usage\n");
|
||||
}
|
||||
|
||||
if (!result)
|
||||
{
|
||||
fatal("out of memory");
|
||||
fatal("ERROR: out of memory\n");
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user