summaryrefslogtreecommitdiff
path: root/hw/dmx/glxProxy/unpack.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/glxProxy/unpack.h')
-rw-r--r--hw/dmx/glxProxy/unpack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/glxProxy/unpack.h b/hw/dmx/glxProxy/unpack.h
index 98fa10ee7..880f9aead 100644
--- a/hw/dmx/glxProxy/unpack.h
+++ b/hw/dmx/glxProxy/unpack.h
@@ -82,7 +82,7 @@ extern xGLXSingleReply __glXReply;
if ((size) > sizeof(answerBuffer)) { \
int bump; \
if ((cl)->returnBufSize < (size)+(align)) { \
- (cl)->returnBuf = (GLbyte*)Xrealloc((cl)->returnBuf, \
+ (cl)->returnBuf = (GLbyte*)realloc((cl)->returnBuf, \
(size)+(align)); \
if (!(cl)->returnBuf) { \
return BadAlloc; \