diff options
author | rws <empty> | 1991-07-24 16:13:07 +0000 |
---|---|---|
committer | rws <empty> | 1991-07-24 16:13:07 +0000 |
commit | b1ba07d7f5a296d353ec93abfcd9b02f780b205a (patch) | |
tree | a52426f82657db172c8b38d5ffc8431adf780cfe /xc/lib/Xi | |
parent | c6715e42d1fd35f3da364389b31e9c239b5e402e (diff) |
lint
Diffstat (limited to 'xc/lib/Xi')
-rw-r--r-- | xc/lib/Xi/XChgDCtl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/lib/Xi/XChgDCtl.c b/xc/lib/Xi/XChgDCtl.c index dbcdc03b1..1631cfc94 100644 --- a/xc/lib/Xi/XChgDCtl.c +++ b/xc/lib/Xi/XChgDCtl.c @@ -1,4 +1,4 @@ -/* $XConsortium: XChgDCtl.c,v 1.1 90/06/20 14:10:43 xbuild ic1C-80 $ */ +/* $XConsortium: XChgDCtl.c,v 1.1 91/07/24 15:43:51 rws Exp $ */ /************************************************************ Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, California, and the @@ -72,7 +72,7 @@ XChangeDeviceControl (dpy, dev, control, d) R->num_valuators * sizeof(int); r.first_valuator = R->first_valuator; r.num_valuators = R->num_valuators; - req->length += ((r.length + 3) >> 2); + req->length += ((unsigned)(r.length + 3) >> 2); length = sizeof (xDeviceResolutionCtl); Data (dpy, (char *) &r, length); length = r.num_valuators * sizeof(int); @@ -92,7 +92,7 @@ XChangeDeviceControl (dpy, dev, control, d) u.control = d->control; u.length = d->length - sizeof (int); - length = ((u.length + 3) >> 2); + length = ((unsigned)(u.length + 3) >> 2); req->length += length; length <<= 2; Data (dpy, (char *) &u, length); |