commit c432c981df97f786c683435a4a06bd58fc9a7b18 parent 87c3dd2c36e6d1df577e87fd4d73970fe58a3007 Author: planet36 <[email protected]> Date: Tue, 13 Apr 2021 12:43:18 -0400 Make LEN macro consistent with other suckless repos Signed-off-by: drkhsh <[email protected]> Diffstat:
M | util.h | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util.h b/util.h @@ -3,7 +3,7 @@ extern char buf[1024]; -#define LEN(x) (sizeof (x) / sizeof *(x)) +#define LEN(x) (sizeof(x) / sizeof((x)[0])) extern char *argv0;