Commit 4e3c389f authored by Laslo Hunhold's avatar Laslo Hunhold

arg.h: Fortify ARGC()

You never know...
parent 959b70ab
......@@ -41,7 +41,7 @@ extern char *argv0;
} \
} \
}
#define ARGC() (*argv)[_i]
#define ARGC() ((*argv)[_i])
#define ARGF_(x) (((*argv)[_i + 1]) ? (_argused = 1, &((*argv)[_i + 1])) : \
(*(argv + 1)) ? (_argused = 1, *(argv + 1)) : (x) \
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment