From cf99f6dc77d67c61a5b7b23f0155515bdcd3ea03 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Mon, 22 Jun 2020 18:44:18 +0300 Subject: [PATCH] another Window fix --- src/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data.c b/src/data.c index b4df5217..54df90cb 100644 --- a/src/data.c +++ b/src/data.c @@ -1989,7 +1989,7 @@ send_pages(ConnectionArgs* conn_arg, const char *to_fullpath, const char *from_f FILE *in = NULL; FILE *out = NULL; int hdr_num = -1; - uint cur_pos_out = 0; + off_t cur_pos_out = 0; char curr_page[BLCKSZ]; int n_blocks_read = 0; BlockNumber blknum = 0;