X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fwchar%2Fwcsncat.c;h=c52a58b9702de2f7da02cfe8305f562cf20b855d;hb=3309ec3ad8a5db735eaa2de7f5dc6a331d8e7319;hp=b0c976cc94111b4f860ee285efd7e465ddcdbd0f;hpb=507d3eccbf4c74e4694165f9e00ab79d894b4f66;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 );