]> pd.if.org Git - pdclib/blobdiff - functions/string/memcpy.c
Added test drivers.
[pdclib] / functions / string / memcpy.c
index ca460ef9b52de4f7fc399597b726a607caa5b98b..b2606b7222af7e87476d5a3e7718fa4631f99f10 100644 (file)
@@ -27,7 +27,7 @@ void * memcpy( void * _PDCLIB_restrict s1, const void * _PDCLIB_restrict s2, siz
 
 int main()
 {
-    char s[11] = "xxxxxxxxxxx";
+    char s[] = "xxxxxxxxxxx";
     BEGIN_TESTS;
     TESTCASE( memcpy( s, abcde, 6 ) == s );
     TESTCASE( s[4] == 'e' );