]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 30 May 2025 12:26:28 +0000 (15:26 +0300)
commita610978bc55f0199344a5ba6bc6927f9fef08a11
treeb92589089252c53bba2d84766858c5c6616b6c94
parent613f05a4c653761550b1d5a5ff8993d1f8e22230
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>
(cherry picked from commit 7ed96710e82c385c6cfc3d064eec7dde20f0f3fd)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/vnc-enc-tight.c
ui/vnc-enc-zrle.c
ui/vnc-jobs.c
ui/vnc.c
ui/vnc.h