summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-23 17:07:52 +0000
committerpixel <pixel>2002-12-23 17:07:52 +0000
commitb8972db74abbec403fbbe79fdd9b7893cccd2dab (patch)
tree9a96de01680ba6e28bee99f3b96d83335b3322c0 /lib
parent6e1a2b321bd198be5e3dead3275c5acd29967717 (diff)
What is the problem with that DAMMIT VC6 compiler?!?
Diffstat (limited to 'lib')
-rw-r--r--lib/Exceptions.cc6
1 files changed, 4 insertions, 2 deletions
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) {