diff options
author | midipix <writeonce@midipix.org> | 2016-12-26 08:21:50 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-26 03:49:33 -0500 |
commit | 2dddcfb1889ee04d43adbcf80c0a5187bfc17a52 (patch) | |
tree | d0479e92023073abf915bb315501b7b131e815c3 /src | |
parent | cfa4ad8d5778a0504397f7f1c14b9a384138ba94 (diff) | |
download | perk-2dddcfb1889ee04d43adbcf80c0a5187bfc17a52.tar.bz2 perk-2dddcfb1889ee04d43adbcf80c0a5187bfc17a52.tar.xz |
argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.
Diffstat (limited to 'src')
-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 9b7c2ad..61c5908 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; |