Make printf format match the type
This commit is contained in:
parent
aa94f571e2
commit
3bf6635ec6
|
@ -309,7 +309,7 @@ static void rcheevos_award_achievement(const rc_client_achievement_t* cheevo)
|
|||
strlcpy(title,
|
||||
msg_hash_to_str(MSG_ACHIEVEMENT_UNLOCKED), sizeof(title));
|
||||
|
||||
snprintf(subtitle, sizeof(subtitle), "%s (%d)", cheevo->title, cheevo->points);
|
||||
snprintf(subtitle, sizeof(subtitle), "%s (%lu)", cheevo->title, (unsigned long)cheevo->points);
|
||||
|
||||
gfx_widgets_push_achievement(title, subtitle, cheevo->badge_name);
|
||||
}
|
||||
|
|
|
@ -992,7 +992,7 @@ bool command_get_status(command_t *cmd, const char* arg)
|
|||
_len += strlcpy(reply + _len,
|
||||
path_basename(path_get(RARCH_PATH_BASENAME)), sizeof(reply) - _len);
|
||||
_len += snprintf(reply + _len, sizeof(reply) - _len,
|
||||
",crc32=%x\n", content_get_crc());
|
||||
",crc32=%lx\n", (unsigned long)content_get_crc());
|
||||
}
|
||||
else
|
||||
_len = strlcpy(reply, "GET_STATUS CONTENTLESS", sizeof(reply));
|
||||
|
|
Loading…
Reference in New Issue