diff options
Diffstat (limited to 'src/lg-downloader.h')
-rw-r--r-- | src/lg-downloader.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lg-downloader.h b/src/lg-downloader.h index a645fae..9a7984b 100644 --- a/src/lg-downloader.h +++ b/src/lg-downloader.h @@ -18,6 +18,7 @@ #ifndef _LG_DOWNLOADER_H_ #define _LG_DOWNLOADER_H_ +#include <sys/types.h> #include <libusb.h> /* @@ -32,8 +33,8 @@ struct context { char *partition; char *filename; - unsigned int address; - unsigned int length; + off_t address; + size_t length; }; #endif |