summaryrefslogtreecommitdiff
path: root/src/u8c/u32free.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/u8c/u32free.c')
-rw-r--r--src/u8c/u32free.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/u8c/u32free.c b/src/u8c/u32free.c
index b57e392..a0b120b 100644
--- a/src/u8c/u32free.c
+++ b/src/u8c/u32free.c
@@ -16,7 +16,7 @@
# include <stdbool.h>
# include <stdint.h>
# include <stdlib.h>
-# include <u8c/u32free.h>
+# include <u8c/u32.h>
bool u8c_u32free(char32_t const * * const _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;