diff options
author | midipix <writeonce@midipix.org> | 2016-12-26 08:21:50 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-26 03:49:50 -0500 |
commit | 7869b18c66b114c9f12f0468bfac57416b0cb8bd (patch) | |
tree | 5282921514126f632dfa7b81039e67f2b7b6acb7 | |
parent | d58d2f142e4983640bb961ef8f93c69ce528d089 (diff) | |
download | slibtool-7869b18c66.tar.bz2 slibtool-7869b18c66.tar.xz |
argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.
-rw-r--r-- | src/internal/argv/argv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h index 60806a2..0e76e64 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; |