X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrxfrm.c;h=db3ad48c07d4911357b26c5a0a334be9f47d6775;hp=3ea8d0fab6259c0f8c983eb4548a7d005fe037c9;hb=e27a6872a6331dd662c13a537c9886c25f70e563;hpb=28602c0f22b9af4f92603fa9d63b9f5ae4dcb25b diff --git a/functions/string/strxfrm.c b/functions/string/strxfrm.c index 3ea8d0f..db3ad48 100644 --- a/functions/string/strxfrm.c +++ b/functions/string/strxfrm.c @@ -14,7 +14,7 @@ size_t strxfrm( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, size_t n ) { - _PDCLIB_ctype_t *ctype = _PDCLIB_threadlocale()->_CType; + const _PDCLIB_ctype_t *ctype = _PDCLIB_threadlocale()->_CType; size_t len = strlen( s2 ); if ( len < n ) {