diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2025-01-27 18:45:47 +0000 |
|---|---|---|
| committer | Daniel P. Berrangé <berrange@redhat.com> | 2025-05-21 19:28:01 +0100 |
| commit | 7ed96710e82c385c6cfc3d064eec7dde20f0f3fd (patch) | |
| tree | 89b36b2d2f56ee66b719fbebab0367474fd5154b /ui/vnc.h | |
| parent | f0737158b483e7ec2b2512145aeab888b85cc1f7 (diff) | |
| download | focaccia-qemu-7ed96710e82c385c6cfc3d064eec7dde20f0f3fd.tar.gz focaccia-qemu-7ed96710e82c385c6cfc3d064eec7dde20f0f3fd.zip | |
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>
Diffstat (limited to '')
| -rw-r--r-- | ui/vnc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/vnc.h b/ui/vnc.h index acc53a2cc1..02613aa63a 100644 --- a/ui/vnc.h +++ b/ui/vnc.h @@ -323,7 +323,7 @@ struct VncState VncWritePixels *write_pixels; PixelFormat client_pf; pixman_format_code_t client_format; - bool client_be; + int client_endian; /* G_LITTLE_ENDIAN or G_BIG_ENDIAN */ CaptureVoiceOut *audio_cap; struct audsettings as; |