diff options
author | midipix <writeonce@midipix.org> | 2016-12-26 08:21:50 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-26 03:50:01 -0500 |
commit | 1687acd2514d420a330be7a7b2b98d55ea72a98b (patch) | |
tree | 102f10b62df34cb78c504cfe08a1e747a8d039a1 /src/internal/argv | |
parent | a040597dafec356698e87871de38ec6dc26f4515 (diff) | |
download | sofort-1687acd2514d420a330be7a7b2b98d55ea72a98b.tar.bz2 sofort-1687acd2514d420a330be7a7b2b98d55ea72a98b.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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h index f9ff983..569b82d 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; |