Signed-off-by: Peter Hutterer <[email protected]>
---
dbe/dbe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dbe/dbe.c b/dbe/dbe.c
index b8f61e7..65aaa15 100644
--- a/dbe/dbe.c
+++ b/dbe/dbe.c
@@ -741,7 +741,7 @@ ProcDbeGetVisualInfo(ClientPtr client)
rep.type = X_Reply;
rep.sequenceNumber = client->sequence;
- rep.length = length >> 2;
+ rep.length = num_dwords_for_bytes(length);
rep.m = count;
if (client->swapped)
--
1.6.3.rc1.2.g0164.dirty
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel