commit | ac4a92264accd03c4a1686847ede5e816e3ed435 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Sat Nov 10 14:16:27 2012 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Sat Nov 10 14:19:33 2012 +0200 |
tree | de9e3bf97a8ec2527313d23c62ec2919699da068 | |
parent | bfc07e509d57b3ec572a74b9a40cbe0015c4c6aa [diff] |
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]