[BusyBox-cvs] svn commit: trunk/busybox/networking

andersen at busybox.net andersen at busybox.net
Sat Apr 16 08:04:32 UTC 2005


Author: andersen
Date: 2005-04-16 02:04:31 -0600 (Sat, 16 Apr 2005)
New Revision: 10119

Log:
Fix broken macro


Modified:
   trunk/busybox/networking/inetd.c


Changeset:
Modified: trunk/busybox/networking/inetd.c
===================================================================
--- trunk/busybox/networking/inetd.c	2005-04-16 08:02:15 UTC (rev 10118)
+++ trunk/busybox/networking/inetd.c	2005-04-16 08:04:31 UTC (rev 10119)
@@ -560,7 +560,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) {type c=(type)(a); (a)=(type)(b); (b)=(type)c;}
 
 			sigprocmask(SIG_BLOCK, &emptymask, &oldmask);
 			/*




More information about the busybox-cvs mailing list