summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-01-03 13:31:18 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-01-03 13:31:18 +0000
commit4fe03a99ce951164c711e7f2146f2bee6df44c64 (patch)
treeb8bbed2bf9bea23adc1d9a24d4e46ade2fccfea9 /tools
parentf2e48c44a7e4c9ee31b8ce2e302186f6047cfeab (diff)
Use %jx instead of %llx for uint64_t and int64_t
Diffstat (limited to 'tools')
-rw-r--r--tools/sdptool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/sdptool.c b/tools/sdptool.c
index 689f724d..8749e0b5 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -586,7 +586,7 @@ static void print_raw_data(sdp_data_t *data, int indent)
printf("UINT32 0x%08x\n", data->val.uint32);
break;
case SDP_UINT64:
- printf("UINT64 0x%016llx\n", data->val.uint64);
+ printf("UINT64 0x%016jx\n", data->val.uint64);
break;
case SDP_UINT128:
printf("UINT128 ...\n");
@@ -601,7 +601,7 @@ static void print_raw_data(sdp_data_t *data, int indent)
printf("INT32 %d\n", data->val.int32);
break;
case SDP_INT64:
- printf("INT64 %lld\n", data->val.int64);
+ printf("INT64 %jd\n", data->val.int64);
break;
case SDP_INT128:
printf("INT128 ...\n");