commit 5f693aa8b5aafaae588daf36fe1455ce6191882e
parent 112489c843d04ad8e67f831848f8e77b50df6a2c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 25 Apr 2014 22:52:40 +0200
dont use varargs for IP macro
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdhcp.c b/sdhcp.c
@@ -96,7 +96,7 @@ static unsigned long t1;
static int dflag = 0;
-#define IP(...) (unsigned char[4]){__VA_ARGS__}
+#define IP(a,b,c,d) (unsigned char[4]){a,b,c,d}
static void
hnput(unsigned char *dst, unsigned long long src, size_t n)