diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-06 14:57:04 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-14 10:14:02 +1000 |
commit | e2226f3cd7d1bef598f9657b756a171b02f1a299 (patch) | |
tree | fdc3522d2754ad9634ea40457cfb25ba97c91feb /dbe/dbe.c | |
parent | 3e1a054423c22f0e35f25127dde1ea8263892480 (diff) |
dbe: switch to byte counting functions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dbe/dbe.c')
-rw-r--r-- | dbe/dbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |