summaryrefslogtreecommitdiff
path: root/net/docsis/files/patch-docsis_decode.c
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-05-07 01:40:46 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-05-07 01:40:46 +0000
commit936a825fc484d4dd8d1bedca02185608b1bd75ee (patch)
tree88391858ac57b625887d8f7fa1cdca74e6fc726c /net/docsis/files/patch-docsis_decode.c
parentRemove .bak file after reinplace. (diff)
add patch files which are omitted in previous commit and unbreak this port.
Pointy hat to: leeym Noticed by: "James E. Flemer" <jflemer@uvm.edu>, kris
Notes
Notes: svn path=/head/; revision=80318
Diffstat (limited to 'net/docsis/files/patch-docsis_decode.c')
-rw-r--r--net/docsis/files/patch-docsis_decode.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/docsis/files/patch-docsis_decode.c b/net/docsis/files/patch-docsis_decode.c
new file mode 100644
index 000000000000..ea2184c0fa84
--- /dev/null
+++ b/net/docsis/files/patch-docsis_decode.c
@@ -0,0 +1,11 @@
+--- docsis_decode.c.orig Fri Jul 5 14:54:11 2002
++++ docsis_decode.c Fri Jul 5 14:55:31 2002
+@@ -47,7 +47,7 @@
+ memset( &helper, 0,sizeof(unsigned int));
+ memcpy( &helper, tlvbuf+2, sizeof(unsigned int));
+
+- printf ( "%s %u;\n", sym->sym_ident, ntohl(helper));
++ printf ( "%s %u;\n", sym->sym_ident, (unsigned int)ntohl(helper));
+ }
+
+ void decode_ushort (unsigned char *tlvbuf, symbol_type *sym)