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:
parent
ffe0b57faa
commit
2db7ffbaab
@ -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;
|
||||||
|
@ -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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user