]> pd.if.org Git - pdclib/commitdiff
Typo.
authorMartin Baute <solar@rootdirectory.de>
Mon, 11 Apr 2016 05:30:26 +0000 (07:30 +0200)
committerMartin Baute <solar@rootdirectory.de>
Mon, 11 Apr 2016 05:30:26 +0000 (07:30 +0200)
functions/string/strcoll.c
functions/string/strxfrm.c

index a139adb4728171c50fecc6d0941d3820d1eaa173..38abe3cdf7b08337df0aae1c7cfba025bed7b82e 100644 (file)
@@ -12,7 +12,7 @@
 
 int strcoll( const char * s1, const char * s2 )
 {
-    const _PDCLIB_ctype_t * ctype = _PDCLIB_lconv.ctype;
+    const struct _PDCLIB_ctype_t * ctype = _PDCLIB_lconv.ctype;
 
     while ( ( *s1 ) && ( ctype[(unsigned char)*s1].collation == ctype[(unsigned char)*s2].collation ) )
     {
index c17d867f6381c4dc235d4670047fbf38eeaf8977..29094e534dbcc4fbcc6ef874b2234120638b605d 100644 (file)
@@ -12,7 +12,7 @@
 
 size_t strxfrm( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, size_t n )
 {
-    const _PDCLIB_ctype_t * ctype = _PDCLIB_lconv.ctype;
+    const struct _PDCLIB_ctype_t * ctype = _PDCLIB_lconv.ctype;
     size_t len = strlen( s2 );
     if ( len < n )
     {