diff options
Diffstat (limited to 'xc/lib/Xp/XpPrinter.c')
-rw-r--r-- | xc/lib/Xp/XpPrinter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xc/lib/Xp/XpPrinter.c b/xc/lib/Xp/XpPrinter.c index fa301b9b3..10815ea52 100644 --- a/xc/lib/Xp/XpPrinter.c +++ b/xc/lib/Xp/XpPrinter.c @@ -34,13 +34,13 @@ ** ****************************************************************************** *****************************************************************************/ -/* $XFree86: xc/lib/Xp/XpPrinter.c,v 1.5 2000/01/25 18:37:34 dawes Exp $ */ +/* $XFree86: xc/lib/Xp/XpPrinter.c,v 1.6 2000/09/26 15:56:58 tsi Exp $ */ #define NEED_REPLIES #include "Printstr.h" #include "Xlibint.h" -#include "extutil.h" +#include "XpExtUtil.h" #define _XpPadOut(len) (((len) + 3) & ~3) @@ -147,7 +147,7 @@ XpGetPrinterList ( /* * Pull printer length and then name. */ - _XRead32 (dpy, (char *) &dataLenVR, (long) sizeof(dataLenVR) ); + _XRead32 (dpy, (long *) &dataLenVR, (long) sizeof(dataLenVR) ); if (dataLenVR) { dataVR = (CARD8 *) Xmalloc( (unsigned) dataLenVR + 1 ); @@ -169,7 +169,7 @@ XpGetPrinterList ( /* * Pull localized description length and then description. */ - _XRead32 (dpy, (char *) &dataLenVR, (long) sizeof(dataLenVR) ); + _XRead32 (dpy, (long *) &dataLenVR, (long) sizeof(dataLenVR) ); if (dataLenVR) { dataVR = (CARD8 *) Xmalloc( (unsigned) dataLenVR + 1 ); |