]> pd.if.org Git - pdclib/blobdiff - functions/string/memmove.c
Added test drivers.
[pdclib] / functions / string / memmove.c
index e9a52b20ed8864a6078121eabb75b3c3a4fd9e9c..7c50deeb6ead1e8d0c1cac5a3e2e3e793d7b6931 100644 (file)
@@ -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' );