]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/vnc.c: replace big endian flag with byte order value
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 27 Jan 2025 18:45:47 +0000 (18:45 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 21 May 2025 18:28:01 +0000 (19:28 +0100)
commit7ed96710e82c385c6cfc3d064eec7dde20f0f3fd
tree89b36b2d2f56ee66b719fbebab0367474fd5154b
parentf0737158b483e7ec2b2512145aeab888b85cc1f7
ui/vnc.c: replace big endian flag with byte order value

It will make it easier to do certain comparisons in future if we
store G_BIG_ENDIAN/G_LITTLE_ENDIAN directly, instead of a boolean
flag, as we can then compare directly to the G_BYTE_ORDER constant.

Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
ui/vnc-enc-tight.c
ui/vnc-enc-zrle.c
ui/vnc-jobs.c
ui/vnc.c
ui/vnc.h