X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fmemmove.c;h=7c50deeb6ead1e8d0c1cac5a3e2e3e793d7b6931;hb=2f57d79a5a24856fdea69b2119d67e5fb5029b3e;hp=e9a52b20ed8864a6078121eabb75b3c3a4fd9e9c;hpb=47cd4aa15a86be053158e818e8d52bfdda0511b8;p=pdclib diff --git a/functions/string/memmove.c b/functions/string/memmove.c index e9a52b2..7c50dee 100644 --- a/functions/string/memmove.c +++ b/functions/string/memmove.c @@ -38,7 +38,7 @@ void * memmove( void * s1, const void * s2, size_t n ) int main() { - char s[10] = "xxxxabcde"; + char s[] = "xxxxabcde"; BEGIN_TESTS; TESTCASE( memmove( s, s + 4, 5 ) == s ); TESTCASE( s[0] == 'a' );