aboutsummaryrefslogtreecommitdiff
path: root/tools/imx8image.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/imx8image.c')
-rw-r--r--tools/imx8image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imx8image.c b/tools/imx8image.c
index 133780f..fa8f227 100644
--- a/tools/imx8image.c
+++ b/tools/imx8image.c
@@ -365,7 +365,7 @@ static void copy_file (int ifd, const char *datafile, int pad, int offset)
struct stat sbuf;
unsigned char *ptr;
int tail;
- int zero = 0;
+ uint64_t zero = 0;
uint8_t zeros[4096];
int size, ret;