Fix broken macro
authorEric Andersen <andersen@codepoet.org>
Sat, 16 Apr 2005 08:04:31 +0000 (08:04 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 16 Apr 2005 08:04:31 +0000 (08:04 -0000)
networking/inetd.c

index 169cc87166d6334cbb60684397306f26490b085a..a1fa29ce4ec19bc3bce67fe75371a40015a367cf 100644 (file)
@@ -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);
                        /*