GUACAMOLE-268: Merge RDP file size fix.

This commit is contained in:
James Muehlner 2017-04-20 08:49:20 -07:00
commit d3fa5e7fbd
2 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,7 @@ typedef struct guac_rdp_fs_file {
/** /**
* The size of this file, in bytes. * The size of this file, in bytes.
*/ */
int size; uint64_t size;
/** /**
* The time this file was created, as a Windows timestamp. * The time this file was created, as a Windows timestamp.

View File

@ -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) { void guac_vnc_set_pixel_format(rfbClient* client, int color_depth) {
client->format.trueColour = 1;
switch(color_depth) { switch(color_depth) {
case 8: case 8:
client->format.depth = 8; client->format.depth = 8;