X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fsoc.c;h=43ebd85c605b823961efef4f9e5f12dfda63e6bb;hb=5609d343e3b34d9fed210a1c26c2441d3f797036;hp=5de0d23756e72a3db82547bb37da9918e86bd9c2;hpb=274f95a9a9e5a889ee137a7cbd764a384a7ac2dd;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;