Skip to content

Commit c0a9aa7

Browse files
committed
Updated format specifier where were wrong
1 parent 5f8e55e commit c0a9aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/config/config.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void totp_config_file_load_base(PluginState* const plugin_state) {
173173
}
174174

175175
if (file_version < CONFIG_FILE_ACTUAL_VERSION) {
176-
FURI_LOG_I(LOGGING_TAG, "Obsolete config file version detected. Current version: %d; Actual version: %d", file_version, CONFIG_FILE_ACTUAL_VERSION);
176+
FURI_LOG_I(LOGGING_TAG, "Obsolete config file version detected. Current version: %" PRIu32 "; Actual version: %" PRId16, file_version, CONFIG_FILE_ACTUAL_VERSION);
177177
totp_close_config_file(fff_data_file);
178178

179179
if (storage_common_stat(storage, CONFIG_FILE_BACKUP_PATH, NULL) == FSE_OK) {
@@ -311,7 +311,7 @@ void totp_config_file_load_tokens(PluginState* const plugin_state) {
311311
plugin_state->tokens_count = index;
312312
plugin_state->token_list_loaded = true;
313313

314-
FURI_LOG_D(LOGGING_TAG, "Found %d tokens", index);
314+
FURI_LOG_D(LOGGING_TAG, "Found %" PRIu8 " tokens", index);
315315

316316
furi_string_free(temp_str);
317317
totp_close_config_file(fff_data_file);

0 commit comments

Comments
 (0)