From b8972db74abbec403fbbe79fdd9b7893cccd2dab Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 23 Dec 2002 17:07:52 +0000 Subject: What is the problem with that DAMMIT VC6 compiler?!? --- lib/Exceptions.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc index 9fe52f6..1ff8b6a 100644 --- a/lib/Exceptions.cc +++ b/lib/Exceptions.cc @@ -122,11 +122,13 @@ void * xrealloc(void * ptr, size_t s) { } void xfree(unsigned char *& p) { - xfree(((char *)p)); + char * t = (char *) p; + xfree(t); } void xfree(void *& p) { - xfree(((char *)p)); + char * t = (char *) p; + xfree(t); } void xfree(char *& p) { -- cgit v1.2.3