summaryrefslogtreecommitdiff
path: root/src/u8c/geterr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/u8c/geterr.c')
-rw-r--r--src/u8c/geterr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/u8c/geterr.c b/src/u8c/geterr.c
index a63ae20..65b8eba 100644
--- a/src/u8c/geterr.c
+++ b/src/u8c/geterr.c
@@ -27,9 +27,9 @@ bool u8c_geterr(size_t * const _sz,char32_t const * * const _out) {
# endif
u8c_u32cp(_sz,_out,u8c_dat.err);
u8c_u32free(&u8c_dat.err);
+ u8c_u32cp(_sz,&u8c_dat.err,U"");
# if defined(u8c_bethrdsafe)
mtx_unlock(&u8c_dat.errlock);
# endif
- u8c_seterr((uint_least32_t[]){UINT32_C(0x0),});
return false;
}