summaryrefslogtreecommitdiff
path: root/glx/unpack.h
diff options
context:
space:
mode:
Diffstat (limited to 'glx/unpack.h')
-rw-r--r--glx/unpack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/unpack.h b/glx/unpack.h
index 90cb71bd7..a4e6d7e84 100644
--- a/glx/unpack.h
+++ b/glx/unpack.h
@@ -86,7 +86,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; \