dbe: switch to byte counting functions

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-07-06 14:57:04 +10:00
parent 3e1a054423
commit e2226f3cd7

View File

@ -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)