(Netplay) Fix lobby sublabel CRC display on some platforms (#14338)

This commit is contained in:
Cthulhu-throwaway 2022-08-22 18:05:13 -03:00 committed by GitHub
parent f5e5a1b201
commit 1a1db6177d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1536,7 +1536,8 @@ static int action_bind_sublabel_netplay_room(file_list_t *list,
if (string_is_empty(room->subsystem_name) ||
string_is_equal_case_insensitive(room->subsystem_name, "N/A"))
snprintf(buf, sizeof(buf), "(%08lX)", (unsigned long)room->gamecrc);
snprintf(buf, sizeof(buf), "(%08lX)",
(unsigned long)(unsigned)room->gamecrc);
else
snprintf(buf, sizeof(buf), "(%s)", room->subsystem_name);