aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arg.h b/arg.h
index d428660..6a3f112 100644
--- a/arg.h
+++ b/arg.h
@@ -15,4 +15,4 @@
}
#define EARGF(x) \
- (done_ = 1, *++opt_ ? opt_ : argv[1] ? --argc, *++argv : ((x), abort(), (void *)0))
+ (done_ = 1, opt_[1] ? ++opt_ : argv[1] ? --argc, *++argv : ((x), abort(), (char *)0))