X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftstxmalloc.c;h=877c93f1819e6351fe3a78daa93f9e3f3bdf4ae6;hp=4d5f8e5e98fe4ddfb3f046128cc0864839314afb;hb=dc0ea3eaeb38d04f10118bfe62cd8e6c80033ce6;hpb=3594baeb76423dcee4a138f54bc1d5b5b4477fe3 diff --git a/test/tstxmalloc.c b/test/tstxmalloc.c index 4d5f8e5..877c93f 100644 --- a/test/tstxmalloc.c +++ b/test/tstxmalloc.c @@ -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);