summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-26 08:21:50 +0000
committermidipix <writeonce@midipix.org>2016-12-26 03:47:55 -0500
commita64bedb439b8866efce164c3bed03ce64ee02ff9 (patch)
treeb2aa11bb33615227a61d672b4e7b491aa9daafdc
parent72aeced76d86fdb2b37ce0d078be040dddd1cdb8 (diff)
downloadptycon-a64bedb439b8866efce164c3bed03ce64ee02ff9.tar.bz2
ptycon-a64bedb439b8866efce164c3bed03ce64ee02ff9.tar.xz
argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.
-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 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;