farbfeld

suckless image format with conversion tools
git clone git://git.suckless.org/farbfeld
Log | Files | Refs | README | LICENSE

commit 4e3c389ffa26127c756139c77d8ab91d1ee57156
parent 959b70ab5a7f7801f7047b9d513671cd95500488
Author: Laslo Hunhold <dev@frign.de>
Date:   Fri,  4 Aug 2017 16:15:52 +0200

arg.h: Fortify ARGC()

You never know...

Diffstat:
Marg.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arg.h b/arg.h @@ -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) \ )