Re: [PATCH] Fix compilation error in mgmt/main.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Szymon,

On Wed, Jan 18, 2012, Szymon Janc wrote:
> Use %u instead of %zu for printing len which is of type uint16_t.
> 
> CC     mgmt/main.o
> cc1: warnings being treated as errors
> mgmt/main.c: In function ‘mgmt_device_found’:
> mgmt/main.c:561: error: format ‘%zu’ expects type ‘size_t’, but argument 4 has type ‘int’
> ---
>  mgmt/main.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks, but you were a bit too slow: I already pushed the same fix
myself (I didn't initially catch this error in my 32 bit qemu vm but
when compiling outside in a 64 bit env I saw it).

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux