diff options
author | rws <empty> | 1994-04-02 13:25:02 +0000 |
---|---|---|
committer | rws <empty> | 1994-04-02 13:25:02 +0000 |
commit | 68a7689c450d77816d4c8acf02e0b79fa7b10014 (patch) | |
tree | 6a6d5151015f6336cdf25debb9ceb257febc8b6c /xc | |
parent | f4d5d315dc548c1cec5a47b1dea6db9f7d7f0675 (diff) |
lint
Diffstat (limited to 'xc')
-rw-r--r-- | xc/lib/X11/Font.c | 4 | ||||
-rw-r--r-- | xc/lib/Xdmcp/Flush.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xc/lib/X11/Font.c b/xc/lib/X11/Font.c index 8b01fff5c..59449e101 100644 --- a/xc/lib/X11/Font.c +++ b/xc/lib/X11/Font.c @@ -1,4 +1,4 @@ -/* $XConsortium: XFont.c,v 11.43 92/05/19 11:06:49 rws Exp $ */ +/* $XConsortium: Font.c,v 11.44 92/12/31 15:44:55 rws Exp $ */ /* Copyright Massachusetts Institute of Technology 1986 */ /* @@ -189,7 +189,7 @@ _XQueryFont (dpy, fid, seq) for (i = 0; i < reply.nCharInfos; i++, cs++) { xCharInfo xcip; - _XRead(dpy, &xcip, SIZEOF(xCharInfo)); + _XRead(dpy, (char *)&xcip, SIZEOF(xCharInfo)); cs->lbearing = cvtINT16toShort(xcip.leftSideBearing); cs->rbearing = cvtINT16toShort(xcip.rightSideBearing); cs->width = cvtINT16toShort(xcip.characterWidth); diff --git a/xc/lib/Xdmcp/Flush.c b/xc/lib/Xdmcp/Flush.c index bad3aa9e1..c8e0b694b 100644 --- a/xc/lib/Xdmcp/Flush.c +++ b/xc/lib/Xdmcp/Flush.c @@ -1,5 +1,5 @@ /* - * $XConsortium: Flush.c,v 1.7 93/08/19 09:04:48 rws Exp $ + * $XConsortium: Flush.c,v 1.8 93/08/20 17:06:32 rws Exp $ * * Copyright 1989 Massachusetts Institute of Technology * @@ -64,7 +64,7 @@ XdmcpFlush (fd, buffer, to, tolen) if (result < 0) return FALSE; #else - result = sendto (fd, buffer->data, buffer->pointer, 0, + result = sendto (fd, (char *)buffer->data, buffer->pointer, 0, (struct sockaddr *)to, tolen); if (result != buffer->pointer) return FALSE; |