Commit: ac4a92264accd03c4a1686847ede5e816e3ed435
Parent: bfc07e509d57b3ec572a74b9a40cbe0015c4c6aa
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-11-10 14:19:33
Tree: de9e3bf97a8ec2527313d23c62ec2919699da068

monitor: Fix uint64_t format specifier To be compilable both on 32 and 64 bit architectures the PRIu64 macro needs to be used as format specifier for uint64_t. Otherwise we'll get the following type of error either on 32 bit (for %lx) or 64 bit (for %llx) : monitor/l2cap.c: In function 'sig_info_rsp': monitor/l2cap.c:351:3: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' [-Werror=format]

Diffstat

M monitor/l2cap.c | 4 +++-

1 files changed, 3 insertions(+), 1 deletions(-)

View Full Diff | Patch