]> pd.if.org Git - pdclib/blobdiff - opt/basecodecs/_PDCLIB_utf8.c
Pointer typedef resulted in non-const structure where const was intended.
[pdclib] / opt / basecodecs / _PDCLIB_utf8.c
index 1dfc83a12ee8599c937e400052cc915b4b9f6c78..6348c79ed852a251cd714ebb05ea1db6077207ce 100644 (file)
@@ -232,7 +232,7 @@ static bool c32toutf8(
     END_CONVERSION;
 }
 
-const struct _PDCLIB_charcodec _PDCLIB_utf8_codec = {
+const struct _PDCLIB_charcodec_t _PDCLIB_utf8_codec = {
     .__mbsinit   = utf8_mbsinit,
     .__mbstoc32s = utf8toc32,
     .__c32stombs = c32toutf8,