summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-26 08:21:50 +0000
committermidipix <writeonce@midipix.org>2016-12-26 03:49:20 -0500
commite8cdf6b3d3182e64e84be26281bdc22b6eaa9f58 (patch)
tree8685b73f3393b5221af5a880a93d13e61bbafbfc
parenta6c8d0a52feded76a559efc3d1e68d4dcc16da75 (diff)
downloadmdso-e8cdf6b3d3182e64e84be26281bdc22b6eaa9f58.tar.bz2
mdso-e8cdf6b3d3182e64e84be26281bdc22b6eaa9f58.tar.xz
argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.
-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 9313931..8e65a2e 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;