From 63e5e7bf0e903b8f1e1f3208d2bcd63868866207 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 16 Apr 2005 08:04:31 +0000 Subject: [PATCH] Fix broken macro --- networking/inetd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/inetd.c b/networking/inetd.c index 169cc87..a1fa29c 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -560,7 +560,7 @@ static void config(int signum) 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) {type c=(type)(a); (a)=(type)(b); (b)=(type)c;} sigprocmask(SIG_BLOCK, &emptymask, &oldmask); /* -- 2.7.4