1.1 --- a/libfsclient/lib/src/file.cc Sun Apr 18 00:24:18 2021 +0200
1.2 +++ b/libfsclient/lib/src/file.cc Sun Apr 18 00:25:46 2021 +0200
1.3 @@ -331,7 +331,7 @@
1.4 /* Copy data to the given buffer from the current data position, updating the
1.5 position. */
1.6
1.7 -void file_data_read(file_t *file, char *buf, size_t to_transfer)
1.8 +void file_data_read(file_t *file, char *buf, offset_t to_transfer)
1.9 {
1.10 memcpy(buf, file_data_current(file), to_transfer);
1.11
1.12 @@ -343,7 +343,7 @@
1.13 /* Copy data from the given buffer to the current data position, updating the
1.14 position and the extent of populated data if this was exceeded. */
1.15
1.16 -void file_data_write(file_t *file, char *buf, size_t to_transfer)
1.17 +void file_data_write(file_t *file, char *buf, offset_t to_transfer)
1.18 {
1.19 memcpy(file_data_current(file), buf, to_transfer);
1.20