Test files for libxml2 output
[yaz-moved-to-github.git] / test / tstxmalloc.c
index 4d5f8e5..877c93f 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) 1995-2010 Index Data
  * See the file LICENSE for details.
  */
 
@@ -16,9 +16,9 @@ void tst(void)
 {
     char *p = 0;
 
-    p = xmalloc(10);
+    p = (char *) xmalloc(10);
     YAZ_CHECK(p);
-    p = xrealloc(p, 20);
+    p = (char *) xrealloc(p, 20);
     YAZ_CHECK(p);
     xfree(p);