diff options
author | pav <pav@FreeBSD.org> | 2004-12-15 05:03:39 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-12-15 05:03:39 +0800 |
commit | 306c94d74693881e49c3c621e70e256111d375c3 (patch) | |
tree | 831f44a60bbbcea2a3c54c1e5075a16ae0655e8f /comms/hcidump | |
parent | 8a6c998b57f2ed87961c31f0c2288d9fcabd50de (diff) | |
download | freebsd-ports-gnome-306c94d74693881e49c3c621e70e256111d375c3.tar.gz freebsd-ports-gnome-306c94d74693881e49c3c621e70e256111d375c3.tar.zst freebsd-ports-gnome-306c94d74693881e49c3c621e70e256111d375c3.zip |
- Fix build on amd64 and possibly other 64-bit architectures
Submitted by: emax
Tested on: sledge
Diffstat (limited to 'comms/hcidump')
-rw-r--r-- | comms/hcidump/files/patch-parser-sdp.c | 28 |
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) |