Fix resulting compilation fail on Ubuntu.

pull/1284/head
Marcus Lindemann 2022-12-06 21:52:19 +01:00
commit b669e4bf05
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -303,7 +303,7 @@ static gpointer stlink_gui_populate_filemem_view(gpointer data) {
goffset file_size = g_file_info_get_size(file_info);
if ((0 > file_size) && (G_MAXSIZE <= file_size)) {
if ((0 > file_size) && ((goffset)G_MAXSIZE <= file_size)) {
stlink_gui_set_info_error_message(gui, "File too large.");
goto out_input;
}