]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_encoding.h
Pointer typedef resulted in non-const structure where const was intended.
[pdclib] / internals / _PDCLIB_encoding.h
index fdaee7ee42061044cdb792212b3ef5b4a24287c1..10f1140c3e73527670d08ab20c246a4ce9572d27 100644 (file)
@@ -86,7 +86,7 @@ static inline _PDCLIB_size_t _PDCLIB_c32rtoc16(
     }
 }
 
-struct _PDCLIB_charcodec {
+struct _PDCLIB_charcodec_t {
     /* Reads at most *_P_insz code units from *_P_inbuf and writes the result 
      * into *_P_outbuf, writing at most *_P_outsz code units. Updates 
      * *_P_outbuf, *_P_outsz, *_P_inbuf, *_P_outsz with the resulting state