Minor tweaks to arg.h Make sure EARGF() has type `char *` (rather than `void *`). Only advance opt_ when there is more left in the argument.
1 files changed, 1 insertions(+), 1 deletions(-) M arg.h
M arg.h => arg.h +1 -1
@@ 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))