summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-07-01 21:42:49 +0000
committerKeith Packard <keithp@keithp.com>2005-07-01 21:42:49 +0000
commit2c1921f748bd92be6ef57e255775c6f5f677874d (patch)
tree7e9f40b545d8f908e9e52dad202ee25a542b3981
parent34b8dba0730571a601fd909569d46812d20471e0 (diff)
Use XPointer instead of caddr_t as info->data is declared as XPointerXORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15XORG-6_8_99_14
-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);
}