]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_locale.h
Pointer typedef resulted in non-const structure where const was intended.
[pdclib] / internals / _PDCLIB_locale.h
index 9644eb4b19c3b836b43505d2358f999093eb3799..82e17b04a580465a0189901da17fb79ef8cfbad4 100644 (file)
@@ -82,8 +82,8 @@ typedef struct _PDCLIB_wcinfo
 } _PDCLIB_wcinfo_t;
 
 struct _PDCLIB_locale {
-    const _PDCLIB_charcodec_t    _Codec;
-    struct lconv                 _Conv;
+    const struct _PDCLIB_charcodec_t * _Codec;
+    struct lconv                       _Conv;
 
     /* ctype / wctype */
     /* XXX: Maybe re-evaluate constness of these later on? */