Skip to content
Commit 6f6b4697 authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Jukka Rissanen
Browse files

samples: google_iot_mqtt: Explicitly cast socklen_t to int in printf



Otherwise, it can lead to warning like:

main.c:80:10: warning: format '%d' expects argument of type 'int',
but argument 2 has type 'socklen_t' {aka 'long unsigned int'}
[-Wformat=]

Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent 220fba3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment