X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fwchar%2Fwcsncat.c;h=c52a58b9702de2f7da02cfe8305f562cf20b855d;hb=c7740d5469a67e629fe28e4bf2574bf764927b7d;hp=b0c976cc94111b4f860ee285efd7e465ddcdbd0f;hpb=f180da1ffc0c288fcc664021cf3a18143bd69898;p=pdclib.old diff --git a/functions/wchar/wcsncat.c b/functions/wchar/wcsncat.c index b0c976c..c52a58b 100644 --- a/functions/wchar/wcsncat.c +++ b/functions/wchar/wcsncat.c @@ -45,7 +45,7 @@ int main( void ) TESTCASE( wcsncat( s, wabcdx, 10 ) == s ); TESTCASE( s[4] == L'x' ); TESTCASE( s[5] == L'\0' ); - TESTCASE( wcsncat( s, "\0", 10 ) == s ); + TESTCASE( wcsncat( s, L"\0", 10 ) == s ); TESTCASE( s[5] == L'\0' ); TESTCASE( s[6] == L'e' ); TESTCASE( wcsncat( s, wabcde, 0 ) == s );