X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fmedia.c;h=ade8dedf563c5061e48370aad2f553f414979507;hb=da77daa962a65116b81149fdc9c2374d22d72dd0;hp=ef9b315f41a4e4cf68558bac6f2231d427d8ea1a;hpb=3e9da86efec76685d7fb374003ed0e2d9bc7c5fb;p=picodrive.git diff --git a/pico/media.c b/pico/media.c index ef9b315..ade8ded 100644 --- a/pico/media.c +++ b/pico/media.c @@ -217,7 +217,7 @@ enum media_type_e PicoLoadMedia(const char *filename, { // check for MegaCD image cd_img_type = PicoCdCheck(filename, &cd_region); - if (cd_img_type >= 0 && cd_img_type != CIT_NOT_CD) + if ((int)cd_img_type >= 0 && cd_img_type != CIT_NOT_CD) { // valid CD image, ask frontend for BIOS.. rom_fname = NULL;