summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-26 08:21:50 +0000
committermidipix <writeonce@midipix.org>2016-12-26 03:50:01 -0500
commit1687acd2514d420a330be7a7b2b98d55ea72a98b (patch)
tree102f10b62df34cb78c504cfe08a1e747a8d039a1 /src/internal
parenta040597dafec356698e87871de38ec6dc26f4515 (diff)
downloadsofort-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')
-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 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;