dbe: switch to byte counting functions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
3e1a054423
commit
e2226f3cd7
|
@ -741,7 +741,7 @@ ProcDbeGetVisualInfo(ClientPtr client)
|
||||||
|
|
||||||
rep.type = X_Reply;
|
rep.type = X_Reply;
|
||||||
rep.sequenceNumber = client->sequence;
|
rep.sequenceNumber = client->sequence;
|
||||||
rep.length = length >> 2;
|
rep.length = bytes_to_int32(length);
|
||||||
rep.m = count;
|
rep.m = count;
|
||||||
|
|
||||||
if (client->swapped)
|
if (client->swapped)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user