From 420c236ebc60dff1c2a297e6a39b41de7a033f43 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 6 Jan 2016 15:57:12 +0100 Subject: [PATCH] fix printf compile warning --- example/embedded/spp_counter.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/embedded/spp_counter.c b/example/embedded/spp_counter.c index 2f5111c83..d338c3674 100644 --- a/example/embedded/spp_counter.c +++ b/example/embedded/spp_counter.c @@ -44,11 +44,12 @@ */ // ***************************************************************************** +#include #include #include #include #include - + #include "btstack-config.h" #include "run_loop.h" @@ -204,7 +205,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack case HCI_EVENT_USER_CONFIRMATION_REQUEST: // ssp: inform about user confirmation request - printf("SSP User Confirmation Request with numeric value '%06u'\n", READ_BT_32(packet, 8)); + printf("SSP User Confirmation Request with numeric value '%06"PRIu32"'\n", READ_BT_32(packet, 8)); printf("SSP User Confirmation Auto accept\n"); break;