summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen2005-04-16 08:04:31 +0000
committerEric Andersen2005-04-16 08:04:31 +0000
commit63e5e7bf0e903b8f1e1f3208d2bcd63868866207 (patch)
tree0e40706fc0a169a49d06bc9a25568cf46d74029b /networking
parent42e3b00ae505f8ae441626ed3e69fcadfdeaebaa (diff)
downloadbusybox-63e5e7bf0e903b8f1e1f3208d2bcd63868866207.zip
busybox-63e5e7bf0e903b8f1e1f3208d2bcd63868866207.tar.gz
Fix broken macro
Diffstat (limited to 'networking')
-rw-r--r--networking/inetd.c2
1 files changed, 1 insertions, 1 deletions
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);
/*