From 7869b18c66b114c9f12f0468bfac57416b0cb8bd Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 26 Dec 2016 08:21:50 +0000 Subject: argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic. --- src/internal/argv/argv.h | 4 ++-- 1 file 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; -- cgit v1.2.3