GUACAMOLE-764: Updated variable type for offsets to uint64_t to increase rdp write to a 64-bit addressable space

This commit is contained in:
m-khan-glyptodon 2019-04-08 15:27:58 -07:00
parent 2db7ffbaab
commit 871f31353b
3 changed files with 3 additions and 3 deletions

View File

@ -426,7 +426,7 @@ int guac_rdp_fs_read(guac_rdp_fs* fs, int file_id, uint64_t offset,
}
int guac_rdp_fs_write(guac_rdp_fs* fs, int file_id, int offset,
int guac_rdp_fs_write(guac_rdp_fs* fs, int file_id, uint64_t offset,
void* buffer, int length) {
int bytes_written;

View File

@ -515,7 +515,7 @@ int guac_rdp_fs_read(guac_rdp_fs* fs, int file_id, uint64_t offset,
* occurs. All error codes are negative values and correspond to
* GUAC_RDP_FS constants, such as GUAC_RDP_FS_ENOENT.
*/
int guac_rdp_fs_write(guac_rdp_fs* fs, int file_id, int offset,
int guac_rdp_fs_write(guac_rdp_fs* fs, int file_id, uint64_t offset,
void* buffer, int length);
/**

View File

@ -57,7 +57,7 @@ typedef struct guac_rdp_upload_status {
* The overall offset within the file that the next write should
* occur at.
*/
int offset;
uint64_t offset;
/**
* The ID of the file being written to.