diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-06 12:24:27 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-14 10:14:01 +1000 |
commit | 86b239ff9c4d01685c357ca2b1ef761d167e3224 (patch) | |
tree | 59ee2462a0132037df8d634644c7c866f98a4266 /randr/rrxinerama.c | |
parent | 7b9e84e320a6f6449fe7bc58a8d6a094ae37b86c (diff) |
randr: switch to byte counting functions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'randr/rrxinerama.c')
-rw-r--r-- | randr/rrxinerama.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrxinerama.c b/randr/rrxinerama.c index d81a857e1..97be7c1e6 100644 --- a/randr/rrxinerama.c +++ b/randr/rrxinerama.c @@ -313,7 +313,7 @@ ProcRRXineramaQueryScreens(ClientPtr client) rep.type = X_Reply; rep.sequenceNumber = client->sequence; rep.number = RRXineramaScreenCount (pScreen); - rep.length = rep.number * sz_XineramaScreenInfo >> 2; + rep.length = bytes_to_int32(rep.number * sz_XineramaScreenInfo); if(client->swapped) { register int n; swaps(&rep.sequenceNumber, n); |