diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-06 12:20:21 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-14 10:14:01 +1000 |
commit | 7b9e84e320a6f6449fe7bc58a8d6a094ae37b86c (patch) | |
tree | 570039663c3361ee3b885ace9d42084d94010fe6 /Xext/shape.c | |
parent | aa19d355125a10b1a385c8f134d68e79d3d609c7 (diff) |
Xext: switch to byte counting functions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xext/shape.c')
-rw-r--r-- | Xext/shape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/shape.c b/Xext/shape.c index 5977296e5..a5ae45578 100644 --- a/Xext/shape.c +++ b/Xext/shape.c @@ -1069,7 +1069,7 @@ ProcShapeGetRectangles (ClientPtr client) } rep.type = X_Reply; rep.sequenceNumber = client->sequence; - rep.length = (nrects * sizeof (xRectangle)) >> 2; + rep.length = bytes_to_int32(nrects * sizeof (xRectangle)); rep.ordering = YXBanded; rep.nrects = nrects; if (client->swapped) { |