Fixed build warnings

This commit is contained in:
David Volovskiy
2026-04-16 11:01:48 -04:00
parent 84b133feee
commit 08f8cb687e
4 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ static void totp_display_code(totp_state_t *totp_state) {
sprintf(buf, "%2d", valid_for);
watch_display_text(WATCH_POSITION_TOP_RIGHT, buf);
sprintf(buf, "%06u", totp_state->current_code);
sprintf(buf, "%06u", (unsigned int)totp_state->current_code);
watch_display_text(WATCH_POSITION_BOTTOM, buf);
}