Fix htons
Modified: trunk/reactos/drivers/net/tcpip/include/tcpip.h
_____
Modified: trunk/reactos/drivers/net/tcpip/include/tcpip.h
--- trunk/reactos/drivers/net/tcpip/include/tcpip.h 2005-03-12
09:14:38 UTC (rev 13963)
+++ trunk/reactos/drivers/net/tcpip/include/tcpip.h 2005-03-12
09:21:59 UTC (rev 13964)
@@ -136,7 +136,7 @@
} TDIEntityInfo;
#ifndef htons
-#define htons(x) (((x) << 16) | (((x) >> 8) & 0xff))
+#define htons(x) (((x) << 8) | (((x) >> 8) & 0xff))
#endif
/* Global variable */
Show replies by date