summaryrefslogtreecommitdiffstats
path: root/autobuild
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-09 17:43:12 +0800
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-09 17:43:12 +0800
commit7436b20b66bf0d0b1c3c3c2d30011186b5f80d8c (patch)
tree18c1298b9c50ddce6d89850d1bc787b897d7b11b /autobuild
parenta974f96ac49bc4d354280d8352cb0d6afb68d9dc (diff)
fix(bluetooth-util.c): Remove -Wformat & -Woverflow warning
/work/agl-service-bluetooth/binding/bluetooth-util.c:170:14: warning: integer overflow in expression ‘-2147483648’ of type ‘long int’ results in ‘-2147483648’ [-Woverflow] if (i64 >= -(1L << 31) && i64 < (1L << 31)) ^ In file included from /xdt/sdk/sysroots/ armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/include/afb/afb-binding.h: 116, from /work/agl-service-bluetooth/binding/ bluetooth-util.c:36: /work/agl-service-bluetooth/binding/bluetooth-util.c:291:16: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘gsize’ {aka ‘unsigned int’} [-Wformat=] AFB_WARNING("Can't handle variants with more than one children (%lu)", nitems); Bug-AGL: SPEC-2422 Change-Id: Ic0f1a9f20c8bbe17040c3c9727922bc930b6f786 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'autobuild')
0 files changed, 0 insertions, 0 deletions