From 8833c0dd7928b7149430e8c7aaae90360405cdff Mon Sep 17 00:00:00 2001 From: dborth Date: Mon, 3 Apr 2017 09:28:22 -0600 Subject: [PATCH 1/2] GUACAMOLE-262: set VNC trueColour flag to 1 instead of 255 --- src/protocols/vnc/display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocols/vnc/display.c b/src/protocols/vnc/display.c index 22de084a..7273e4b3 100644 --- a/src/protocols/vnc/display.c +++ b/src/protocols/vnc/display.c @@ -153,6 +153,7 @@ void guac_vnc_copyrect(rfbClient* client, int src_x, int src_y, int w, int h, in } void guac_vnc_set_pixel_format(rfbClient* client, int color_depth) { + client->format.trueColour = 1; switch(color_depth) { case 8: client->format.depth = 8; From 228874804efcdefc78ae109a4f6ad7cdb4985283 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 17 Apr 2017 11:52:07 -0700 Subject: [PATCH 2/2] GUACAMOLE-268: Use 64-bit unsigned integers to represent file size internally (identical to RDPDR). --- src/protocols/rdp/rdp_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/rdp/rdp_fs.h b/src/protocols/rdp/rdp_fs.h index abdda105..9168efb1 100644 --- a/src/protocols/rdp/rdp_fs.h +++ b/src/protocols/rdp/rdp_fs.h @@ -229,7 +229,7 @@ typedef struct guac_rdp_fs_file { /** * The size of this file, in bytes. */ - int size; + uint64_t size; /** * The time this file was created, as a Windows timestamp.