summaryrefslogtreecommitdiffstats
path: root/src/ipsw.h
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/ipsw.h
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/ipsw.h')
-rw-r--r--src/ipsw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipsw.h b/src/ipsw.h
index 4c0087f..1d00d6f 100644
--- a/src/ipsw.h
+++ b/src/ipsw.h
@@ -33,7 +33,7 @@ extern "C" {
int ipsw_is_directory(const char* ipsw);
int ipsw_file_exists(const char* ipsw, const char* infile);
-int ipsw_get_file_size(const char* ipsw, const char* infile, off_t* size);
+int ipsw_get_file_size(const char* ipsw, const char* infile, uint64_t* size);
int ipsw_extract_to_file(const char* ipsw, const char* infile, const char* outfile);
int ipsw_extract_to_file_with_progress(const char* ipsw, const char* infile, const char* outfile, int print_progress);
int ipsw_extract_to_memory(const char* ipsw, const char* infile, unsigned char** pbuffer, unsigned int* psize);