fix clang warnings

so that they don't annoy me
This commit is contained in:
notaz 2013-07-29 01:55:49 +03:00
parent 3e9da86efe
commit da77daa962
5 changed files with 6 additions and 5 deletions

View file

@ -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;