diff options
Diffstat (limited to 'src/util/disk.c')
-rw-r--r-- | src/util/disk.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/util/disk.c b/src/util/disk.c index b8653ed1e..3f46923f7 100644 --- a/src/util/disk.c +++ b/src/util/disk.c | |||
@@ -877,10 +877,11 @@ int | |||
877 | GNUNET_DISK_file_copy (const char *src, const char *dst) | 877 | GNUNET_DISK_file_copy (const char *src, const char *dst) |
878 | { | 878 | { |
879 | char *buf; | 879 | char *buf; |
880 | unsigned long long pos; | 880 | uint64_t pos; |
881 | unsigned long long size; | 881 | uint64_t size; |
882 | unsigned long long len; | 882 | size_t len; |
883 | struct GNUNET_DISK_FileHandle *in, *out; | 883 | struct GNUNET_DISK_FileHandle *in; |
884 | struct GNUNET_DISK_FileHandle *out; | ||
884 | 885 | ||
885 | if (GNUNET_OK != GNUNET_DISK_file_size (src, &size, GNUNET_YES)) | 886 | if (GNUNET_OK != GNUNET_DISK_file_size (src, &size, GNUNET_YES)) |
886 | return GNUNET_SYSERR; | 887 | return GNUNET_SYSERR; |