1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[fmt] Fix sprintf fmt for unsigned int

This commit is contained in:
Tsarevich Dmitry 2020-02-23 21:52:42 +03:00
parent 4cc02e37d6
commit 047ce86986
No known key found for this signature in database
GPG key ID: E3C61298FF5B1274

View file

@ -378,7 +378,7 @@ char* lmprintf(uint32_t msg_id, ...)
}
if (format == NULL) {
safe_sprintf(buf[buf_id], LOC_MESSAGE_SIZE-1, "MSG_%03d UNTRANSLATED", msg_id - MSG_000);
safe_sprintf(buf[buf_id], LOC_MESSAGE_SIZE-1, "MSG_%03u UNTRANSLATED", msg_id - MSG_000);
} else {
if (right_to_left_mode && (msg_table != default_msg_table)) {
if (is_rtf) {