patch-2.4.0-test2 linux/include/net/dn.h
Next file: linux/include/net/if_inet6.h
Previous file: linux/include/linux/wrapper.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Jun 23 21:30:21 2000
- Orig file:
v2.4.0-test1/linux/include/net/dn.h
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.4.0-test1/linux/include/net/dn.h linux/include/net/dn.h
@@ -6,8 +6,8 @@
typedef unsigned short dn_address;
-#define dn_ntohs(x) le16_to_cpu(x)
-#define dn_htons(x) cpu_to_le16(x)
+#define dn_ntohs(x) le16_to_cpu((unsigned short)(x))
+#define dn_htons(x) cpu_to_le16((unsigned short)(x))
struct dn_scp /* Session Control Port */
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)