summaryrefslogtreecommitdiff
path: root/dbe
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-06 14:57:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-14 10:14:02 +1000
commite2226f3cd7d1bef598f9657b756a171b02f1a299 (patch)
treefdc3522d2754ad9634ea40457cfb25ba97c91feb /dbe
parent3e1a054423c22f0e35f25127dde1ea8263892480 (diff)
dbe: switch to byte counting functions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dbe')
-rw-r--r--dbe/dbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbe/dbe.c b/dbe/dbe.c
index b8f61e742..a4f853d80 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 = bytes_to_int32(length);
rep.m = count;
if (client->swapped)