diff --git a/applications/main/nfc/scenes/nfc_scene_passport_auth.c b/applications/main/nfc/scenes/nfc_scene_passport_auth.c index 05afad97d..78691b771 100644 --- a/applications/main/nfc/scenes/nfc_scene_passport_auth.c +++ b/applications/main/nfc/scenes/nfc_scene_passport_auth.c @@ -109,7 +109,7 @@ bool nfc_scene_passport_auth_on_event(void* context, SceneManagerEvent event) { bool consumed = false; if(event.type == SceneManagerEventTypeCustom) { - FURI_LOG_D(TAG, "event.event: %d", event.event); + FURI_LOG_D(TAG, "event.event: %ld", event.event); switch(event.event) { case NfcScenePassportAuthSelectDob: scene_manager_set_scene_state(nfc->scene_manager, NfcScenePassportDate, 0); diff --git a/applications/main/nfc/scenes/nfc_scene_passport_read_auth.c b/applications/main/nfc/scenes/nfc_scene_passport_read_auth.c index dbb18eb28..0f0f82684 100644 --- a/applications/main/nfc/scenes/nfc_scene_passport_read_auth.c +++ b/applications/main/nfc/scenes/nfc_scene_passport_read_auth.c @@ -41,7 +41,7 @@ void nfc_scene_passport_read_auth_on_enter(void* context) { furi_string_cat_printf(temp_str, "LDS version: %d.%d\n", lds_version/100, lds_version%100); uint32_t unicode_version = mrtd_data->files.EF_COM.unicode_version; - furi_string_cat_printf(temp_str, "Unicode version: %d.%d.%d\n", unicode_version/10000, unicode_version/100%100, unicode_version%100); + furi_string_cat_printf(temp_str, "Unicode version: %d.%d.%d\n", (uint8_t)(unicode_version/10000), (uint8_t)(unicode_version/100%100), (uint8_t)(unicode_version%100)); furi_string_cat_printf(temp_str, "Avail.files: "); for(size_t i=0; i