mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Small type corrections.
This commit is contained in:
4
library/stdlib_malloc.c
Executable file → Normal file
4
library/stdlib_malloc.c
Executable file → Normal file
@ -298,8 +298,8 @@ __allocate_memory(
|
||||
#if defined(UNIX_PATH_SEMANTICS)
|
||||
{
|
||||
/* Set the zero length allocation contents to NULL. */
|
||||
if (original_size == 0 && size >= sizeof(char *))
|
||||
*(char **)result = NULL;
|
||||
if (original_size == 0 && size >= sizeof(BYTE *))
|
||||
*(BYTE **)result = NULL;
|
||||
}
|
||||
#endif /* UNIX_PATH_SEMANTICS */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user