aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-14 21:03:39 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-14 21:03:39 +0000
commit64c8deab60ce6b2f03853df9164284c53772bb2f (patch)
tree8808a7298f953b315caf5da5420024654c8f577e /comms
parent7c0ead20feb049f38cb1a69b15c222adf8f26705 (diff)
downloadports-64c8deab60ce6b2f03853df9164284c53772bb2f.tar.gz
ports-64c8deab60ce6b2f03853df9164284c53772bb2f.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/hcidump/files/patch-parser-sdp.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/comms/hcidump/files/patch-parser-sdp.c b/comms/hcidump/files/patch-parser-sdp.c
new file mode 100644
index 000000000000..d7988e250f51
--- /dev/null
+++ b/comms/hcidump/files/patch-parser-sdp.c
@@ -0,0 +1,28 @@
+--- parser/sdp.c.orig Sat Sep 13 01:38:11 2003
++++ parser/sdp.c Tue Dec 14 21:59:15 2004
+@@ -31,6 +31,7 @@
+
+ #include <sys/types.h>
+ #include <netinet/in.h>
++#include <inttypes.h>
+ #include <stdio.h>
+
+ #include "parser.h"
+@@ -203,7 +204,7 @@
+ break;
+ case 16:/* 128-bit */
+ get_u128(frm, &val, &val2);
+- printf(" 0x%llx 0x%llx", val2, val);
++ printf(" 0x%" PRIx64 "0x%" PRIx64, val2, val);
+ return;
+ default: /* syntax error */
+ printf(" err");
+@@ -212,7 +213,7 @@
+ return;
+ }
+
+- printf(" 0x%llx", val);
++ printf(" 0x%" PRIx64, val);
+ }
+
+ static void print_uuid(int n, struct frame *frm)