From ba5c1e0d8e8e282e9f3c2ddc8b642d6401f0b3dc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 30 Sep 2004 18:31:14 +0000 Subject: [PATCH] Added type cast to avoid warning --- data1/d1_absyn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data1/d1_absyn.c b/data1/d1_absyn.c index 9c784cb..216f60a 100644 --- a/data1/d1_absyn.c +++ b/data1/d1_absyn.c @@ -1,4 +1,4 @@ -/* $Id: d1_absyn.c,v 1.13 2004-09-30 18:30:35 adam Exp $ +/* $Id: d1_absyn.c,v 1.14 2004-09-30 18:31:14 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -79,7 +79,7 @@ struct data1_hash_table *data1_hash_open(int size, NMEM nmem) void data1_hash_insert(struct data1_hash_table *ht, const char *str, void *clientData, int copy) { - char *dstr = copy ? nmem_strdup(ht->nmem, str) : str; + char *dstr = copy ? nmem_strdup(ht->nmem, str) : (char*) str; if (strchr(str, '?') || strchr(str, '.')) { int i; -- 1.7.10.4