summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-02-14 00:32:13 +0100
committerGravatar Nikias Bassen2019-02-14 00:32:13 +0100
commit15b85554808e51d3009f3742b1800620a217b149 (patch)
treeee967016fe79cf8d236a7f1e0473deea9e651083 /src/restore.c
parent4a1c7c75519ffe77d8540e056e31fcfe17f1d3fd (diff)
downloadidevicerestore-15b85554808e51d3009f3742b1800620a217b149.tar.gz
idevicerestore-15b85554808e51d3009f3742b1800620a217b149.tar.bz2
Use uint64_t instead of off_t for win32/MinGW compatibility
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index 0f2ce89..c6ca34a 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1207,7 +1207,7 @@ static int restore_sign_bbfw(const char* bbfwtmp, plist_t bbtss, const unsigned
unsigned char* buffer = NULL;
unsigned char* blob = NULL;
unsigned char* fdata = NULL;
- off_t fsize = 0;
+ uint64_t fsize = 0;
uint64_t blob_size = 0;
int zerr = 0;
int zindex = -1;