summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-07-18 12:15:11 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-08-10 14:09:46 +0200
commit08e9dc67fd34f7dbcc5ce1ab877c3c42f9f75b05 (patch)
tree7f53cb87fca5d0f5382a90a1a8cd08967561caf0 /scripts
parent4944aa0734523573e76e26c42f65e8998b8692ed (diff)
downloadmupdf-08e9dc67fd34f7dbcc5ce1ab877c3c42f9f75b05.tar.xz
Fix typo in bin2coff script.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bin2coff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bin2coff.c b/scripts/bin2coff.c
index 8c3a5705..f9d30eeb 100644
--- a/scripts/bin2coff.c
+++ b/scripts/bin2coff.c
@@ -292,9 +292,9 @@ main (int argc, char *argv[])
x86_32 = 0;
last_arg = argc;
- if (argc >= 4 && check_64bit(argv[4], &x86_32))
+ if (argc >= 4 && check_64bit(argv[3], &x86_32))
last_arg = 4;
- else if (argc >= 5 && check_64bit(argv[5], &x86_32))
+ else if (argc >= 5 && check_64bit(argv[4], &x86_32))
last_arg = 5;
/* Label setup */