X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fsoc.c;fp=platform%2Fgp2x%2Fsoc.c;h=43ebd85c605b823961efef4f9e5f12dfda63e6bb;hb=f4750ee051b509a17bb940d6372a0c12faae18cd;hp=5de0d23756e72a3db82547bb37da9918e86bd9c2;hpb=bf61bea0f2e94206a79fecc83b719f24cfc951c2;p=picodrive.git diff --git a/platform/gp2x/soc.c b/platform/gp2x/soc.c index 5de0d23..43ebd85 100644 --- a/platform/gp2x/soc.c +++ b/platform/gp2x/soc.c @@ -39,7 +39,7 @@ gp2x_soc_t soc_detect(void) int memdev; int i; - if (ret != -2) + if ((int)ret != -2) /* already detected */ return ret;