From e2226f3cd7d1bef598f9657b756a171b02f1a299 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 6 Jul 2009 14:57:04 +1000 Subject: dbe: switch to byte counting functions Signed-off-by: Peter Hutterer --- dbe/dbe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbe') 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) -- cgit v1.2.1