]> pd.if.org Git - pdclib/blobdiff - functions/string/strcoll.c
Compiler warnings regarding const > non-const assignments. Fixed.
[pdclib] / functions / string / strcoll.c
index b6a4cd6d242aa0e195d93e221816162f4c2d73bb..ebe9a450b5bc887ecab51d32770c80c2899f06bd 100644 (file)
@@ -14,7 +14,7 @@
 
 int strcoll( const char * s1, const char * s2 )
 {
-    _PDCLIB_ctype_t * ctype = _PDCLIB_threadlocale()->_CType;
+    const _PDCLIB_ctype_t * ctype = _PDCLIB_threadlocale()->_CType;
 
     while ( ( *s1 ) && ( ctype[(unsigned char)*s1].collation == ctype[(unsigned char)*s2].collation ) )
     {