1.1 --- a/client/client.cc Sun Apr 11 19:34:07 2021 +0200
1.2 +++ b/client/client.cc Mon Apr 12 00:12:51 2021 +0200
1.3 @@ -30,7 +30,7 @@
1.4
1.5 /* Default size of pipe regions. */
1.6
1.7 -const offset_t DEFAULT_PIPE_SIZE = 4096;
1.8 +const length_t DEFAULT_PIPE_SIZE = 4096;
1.9
1.10
1.11
1.12 @@ -159,7 +159,7 @@
1.13
1.14 /* Map a memory region to a file. */
1.15
1.16 -void *client_mmap(file_t *file, offset_t position, offset_t length)
1.17 +void *client_mmap(file_t *file, offset_t position, length_t length)
1.18 {
1.19 if ((file == NULL) || (file_mmap(file, position, length)))
1.20 return NULL;