On 13/5/25 13:08, Philippe Mathieu-Daudé wrote:
On 13/5/25 12:08, Daniel P. Berrangé wrote:
From: Daniel P. Berrangé <berra...@redhat.com>
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.
Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
ui/vnc-enc-tight.c | 2 +-
ui/vnc-enc-zrle.c | 2 +-
ui/vnc-jobs.c | 2 +-
ui/vnc.c | 6 +++---
ui/vnc.h | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ui/vnc.h b/ui/vnc.h
index acc53a2cc1..f2a627dcdf 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_bo; /* G_LITTLE_ENDIAN or G_BIG_ENDIAN */
'bo' = 'big order'?
Maybe 'client_endian' or even 'client_endianness'?
At least we don't care about G_PDP_ENDIAN ;)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>