aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-05 00:50:03 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-05 00:50:03 +0000
commit23fedb3ad4bce0f528fa39e44a9695a6fa5d2ef1 (patch)
tree38ad31758e4ca12ec7e94e7909307cd938b76774
parent9c44dce304150753879269b982f3e2c55c6bb287 (diff)
downloadbusybox-w32-23fedb3ad4bce0f528fa39e44a9695a6fa5d2ef1.tar.gz
busybox-w32-23fedb3ad4bce0f528fa39e44a9695a6fa5d2ef1.tar.bz2
busybox-w32-23fedb3ad4bce0f528fa39e44a9695a6fa5d2ef1.zip
dont typecast lvalue since gcc hates that
-rw-r--r--networking/inetd.c2
1 files changed, 1 insertions, 1 deletions
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)))
945 if (sep != 0) { 945 if (sep != 0) {
946 int i; 946 int i;
947 947
948#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;} 948#define SWAP(type, a, b) do {type c=(type)a; a=(type)b; b=(type)c;} while (0)
949 949
950 omask = sigblock (SIGBLOCK); 950 omask = sigblock (SIGBLOCK);
951 /* 951 /*