summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XpExtUtil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XpExtUtil.c b/src/XpExtUtil.c
index 4523e6d..dac8028 100644
--- a/src/XpExtUtil.c
+++ b/src/XpExtUtil.c
@@ -140,7 +140,7 @@ int XpCheckExtInitUnlocked(dpy, version_index)
* Hang a Xp private data struct. Use it for version
* information.
*/
- info->data = (caddr_t) Xmalloc (sizeof (xpPrintData));
+ info->data = (XPointer) Xmalloc (sizeof (xpPrintData));
if (!info->data) {
return (-1);
}