diff options
author | Laslo Hunhold <dev@frign.de> | 2017-08-04 16:15:52 +0200 |
---|---|---|
committer | Laslo Hunhold <dev@frign.de> | 2017-08-04 16:15:52 +0200 |
commit | 4e3c389ffa26127c756139c77d8ab91d1ee57156 (patch) | |
tree | 8f572d36cef82ae5951af32aaaa75c5a90282c79 | |
parent | 959b70ab5a7f7801f7047b9d513671cd95500488 (diff) |
arg.h: Fortify ARGC()
You never know...
-rw-r--r-- | arg.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) \ ) |