1
0
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:
obarthel
2023-09-09 12:55:13 +02:00
parent 115099698a
commit fba7f7da9b

4
library/stdlib_malloc.c Executable file → Normal file
View 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 */