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

This commit is contained in:
m-khan-glyptodon 2019-04-08 15:00:59 -07:00
parent ffe0b57faa
commit 2db7ffbaab
2 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ int guac_rdp_fs_open(guac_rdp_fs* fs, const char* path,
} }
int guac_rdp_fs_read(guac_rdp_fs* fs, int file_id, int offset, int guac_rdp_fs_read(guac_rdp_fs* fs, int file_id, uint64_t offset,
void* buffer, int length) { void* buffer, int length) {
int bytes_read; int bytes_read;

View File

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