From 23fedb3ad4bce0f528fa39e44a9695a6fa5d2ef1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 5 Oct 2005 00:50:03 +0000 Subject: [PATCH] dont typecast lvalue since gcc hates that --- networking/inetd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/inetd.c b/networking/inetd.c index 4c16ff375..f9f380fa1 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -945,7 +945,7 @@ static void config (int sig __attribute__((unused))) if (sep != 0) { int i; -#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;} +#define SWAP(type, a, b) do {type c=(type)a; a=(type)b; b=(type)c;} while (0) omask = sigblock (SIGBLOCK); /* -- 2.25.1