summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mar/mar-extract-only.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/mar/mar-extract-only.c')
-rw-r--r--mdk-stage1/mar/mar-extract-only.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/mar/mar-extract-only.c b/mdk-stage1/mar/mar-extract-only.c
index 723cc376d..a5b6ccd2f 100644
--- a/mdk-stage1/mar/mar-extract-only.c
+++ b/mdk-stage1/mar/mar-extract-only.c
@@ -159,7 +159,8 @@ mar_extract_file(char *mar_filename, char *filename_to_extract, char *dest_dir)
char garb_buf[4096];
char *buf;
char *dest_file;
- int fd, i;
+ int fd;
+ size_t i;
dest_file = (char *) alloca(strlen(dest_dir) + strlen(filename_to_extract) + 1);
strcpy(dest_file, dest_dir);
strcat(dest_file, filename_to_extract);