fix(bluetooth-pbap-binding.c): Remove -Wformat warning 14/22314/2
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>
Wed, 4 Sep 2019 11:36:53 +0000 (19:36 +0800)
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>
Wed, 4 Sep 2019 11:36:53 +0000 (19:36 +0800)
commit0409394b97bc6818967455c1adf643423cbf8fce
treefa110ff9cd5be7ed54573caaea4084923d4f2397
parentf67d8def241f5264ef5942e927d29c4a1d4eb86e
fix(bluetooth-pbap-binding.c): Remove -Wformat warning

agl-service-bluetooth/agl-service-bluetooth-pbap/binding/
bluetooth-pbap-binding.c:173:13: warning: format ‘%ld’ expects argument
of type ‘long int’, but argument 7 has type ‘size_t’
{aka ‘unsigned int’} [-Wformat=]
AFB_ERROR("Read only %ld/%ld bytes from %s", n, size, filename);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~
agl-service-bluetooth/agl-service-bluetooth-pbap/binding/
bluetooth-pbap-binding.c:173:13: warning: format ‘%ld’ expects argument
of type ‘long int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’}
[-Wformat=]

Bug-AGL: SPEC-2422

Change-Id: I90504163278b3bbd415b73021bd32eaa2a759572
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
binding/bluetooth-pbap-binding.c