diff options
Diffstat (limited to 'src/u8c/u32free.c')
-rw-r--r-- | src/u8c/u32free.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/u8c/u32free.c b/src/u8c/u32free.c index 62b43ef..b57e392 100644 --- a/src/u8c/u32free.c +++ b/src/u8c/u32free.c @@ -18,7 +18,7 @@ # include <stdlib.h> # include <u8c/u32free.h> bool u8c_u32free(char32_t const * * const _u32) { - free((char32_t *)*_u32); + free((char32_t *)*_u32); /* This cast does indeed discard a const-qualifier, but it is not undefined behaviour, as the array must have been allocated by calloc or malloc, meaning it's original type is not const-qualified. */ *_u32 = NULL; return false; } |