test/string_tests.c

changeset 69
fb59270b1de3
parent 47
22fb97e9f58a
child 71
303dabadff1c
     1.1 --- a/test/string_tests.c	Thu Oct 11 16:29:30 2012 +0200
     1.2 +++ b/test/string_tests.c	Fri Oct 12 10:54:55 2012 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4      
     1.5      len = s1.length + s2.length + s3.length;
     1.6      
     1.7 -    cat.ptr = malloc(len + 1);
     1.8 +    cat.ptr = (char*) malloc(len + 1);
     1.9      cat.ptr[len] = 0;
    1.10      cat.length = len;
    1.11      

mercurial