summaryrefslogtreecommitdiffhomepage
path: root/src/internal
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:50 -0500
commit7869b18c66b114c9f12f0468bfac57416b0cb8bd (patch)
tree5282921514126f632dfa7b81039e67f2b7b6acb7 /src/internal
parentd58d2f142e4983640bb961ef8f93c69ce528d089 (diff)
downloadslibtool-7869b18c66b114c9f12f0468bfac57416b0cb8bd.tar.bz2
slibtool-7869b18c66b114c9f12f0468bfac57416b0cb8bd.tar.xz
argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.
Diffstat (limited to 'src/internal')
-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 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;