diff options
author | midipix <writeonce@midipix.org> | 2016-12-26 08:21:50 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-26 03:47:55 -0500 |
commit | a64bedb439b8866efce164c3bed03ce64ee02ff9 (patch) | |
tree | b2aa11bb33615227a61d672b4e7b491aa9daafdc /src | |
parent | 72aeced76d86fdb2b37ce0d078be040dddd1cdb8 (diff) | |
download | ptycon-a64bedb439b8866efce164c3bed03ce64ee02ff9.tar.bz2 ptycon-a64bedb439b8866efce164c3bed03ce64ee02ff9.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 3d5afbd..b03761c 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; |