X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fmemmove.c;h=7c50deeb6ead1e8d0c1cac5a3e2e3e793d7b6931;hp=e9a52b20ed8864a6078121eabb75b3c3a4fd9e9c;hb=2f57d79a5a24856fdea69b2119d67e5fb5029b3e;hpb=1a0d9f7faca36f149db3b85c09a72528e0c73a83 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' );