Skip to content

Commit 940b516

Browse files
author
Arto Kinnunen
committed
Fix compiler warnings
1 parent 64e6ff3 commit 940b516

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

source/6LoWPAN/ws/ws_bbr_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ static void ws_bbr_rpl_status_check(protocol_interface_info_entry_t *cur)
353353
if (memcmp(global_prefix, ADDR_UNSPECIFIED, 8) == 0) {
354354
//Global prefix not available count if backup ULA should be created
355355
global_prefix_unavailable_timer += BBR_CHECK_INTERVAL;
356-
tr_debug("Check for backup prefix %d", global_prefix_unavailable_timer);
356+
tr_debug("Check for backup prefix %"PRIu32"", global_prefix_unavailable_timer);
357357
if (global_prefix_unavailable_timer >= BBR_BACKUP_ULA_DELAY) {
358358
if (memcmp(current_global_prefix, ADDR_UNSPECIFIED, 8) == 0) {
359359
tr_info("start using backup prefix %s", trace_ipv6_prefix(local_prefix, 64));

source/6LoWPAN/ws/ws_pae_controller.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ static void ws_pae_controller_nw_key_index_check_and_set(protocol_interface_info
450450

451451
uint32_t frame_counter = ws_pae_controller_frame_counter_get(&controller->stored_frame_counter, index, controller->nw_key[index].hash);
452452
controller->nw_frame_counter_set(interface_ptr, frame_counter);
453-
tr_info("NW frame counter set: %i", frame_counter);
453+
tr_info("NW frame counter set: %"PRIu32"", frame_counter);
454454
ws_pae_controller_frame_counter_write(controller, index, controller->nw_key[index].hash, frame_counter);
455455
}
456456

@@ -479,7 +479,7 @@ static void ws_pae_controller_active_nw_key_set(protocol_interface_info_entry_t
479479
if (controller->gtk_index != index && controller->nw_key[index].fresh) {
480480
uint32_t frame_counter = ws_pae_controller_frame_counter_get(&controller->stored_frame_counter, index, controller->nw_key[index].hash);
481481
controller->nw_frame_counter_set(cur, frame_counter);
482-
tr_info("NW frame counter set: %i", frame_counter);
482+
tr_info("NW frame counter set: %"PRIu32"", frame_counter);
483483
ws_pae_controller_frame_counter_write(controller, index, controller->nw_key[index].hash, frame_counter);
484484
}
485485

source/Security/TLS/tls_lib.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,7 @@ void tls_server_finnish_handle_start(sec_suite_t *tls_suite)
989989
#ifdef PANA_SERVER_API
990990
static buffer_t *tls_verify_handler(uint8_t certi_rx, tls_header_t *tls_header_ptr, buffer_t *buf, sec_suite_t *tls_suite)
991991
{
992+
(void) certi_rx;
992993
tls_heap_t *tls_heap = tls_suite->tls_session->tls_heap;
993994
tls_heap->client_verify_buf_len = tls_header_ptr->length;
994995
if (tls_heap->client_verify_buf) {

0 commit comments

Comments
 (0)