commit | 23fedb3ad4bce0f528fa39e44a9695a6fa5d2ef1 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Wed Oct 05 00:50:03 2005 +0000 |
committer | Mike Frysinger <vapier@gentoo.org> | Wed Oct 05 00:50:03 2005 +0000 |
tree | 38ad31758e4ca12ec7e94e7909307cd938b76774 | |
parent | 9c44dce304150753879269b982f3e2c55c6bb287 [diff] [blame] |
dont typecast lvalue since gcc hates that
diff --git a/networking/inetd.c b/networking/inetd.c index 4c16ff3..f9f380f 100644 --- a/networking/inetd.c +++ b/networking/inetd.c
@@ -945,7 +945,7 @@ 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); /*