summaryrefslogtreecommitdiffhomepage
path: root/src/internal/argv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-26 08:21:50 +0000
committermidipix <writeonce@midipix.org>2016-12-26 03:48:55 -0500
commit26359a32615eeb231a4cf24b31005c6912e3f1be (patch)
treed3d1ffb2959daa4aea51d2ba099eefd644f44cfe /src/internal/argv
parenta6ad51943c98c3f075d527a9d2a84a3b613655d2 (diff)
downloadapimagic-26359a32615eeb231a4cf24b31005c6912e3f1be.tar.bz2
apimagic-26359a32615eeb231a4cf24b31005c6912e3f1be.tar.xz
argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.
Diffstat (limited to 'src/internal/argv')
-rw-r--r--src/internal/argv/argv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h
index 89f5407..de05c70 100644
--- a/src/internal/argv/argv.h
+++ b/src/internal/argv/argv.h
@@ -129,8 +129,8 @@ struct argv_ctx {
int flags;
int mode;
int nentries;
- int unitidx;
- int erridx;
+ intptr_t unitidx;
+ intptr_t erridx;
enum argv_error errcode;
const char * errch;
const struct argv_option * erropt;