test/string_tests.c

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

mercurial