X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fsoc.c;h=43ebd85c605b823961efef4f9e5f12dfda63e6bb;hb=f342bededbe5d51afd1632e689f5105e50d4f63e;hp=5de0d23756e72a3db82547bb37da9918e86bd9c2;hpb=1eb704b6332072581bf7c3bc411babc66f8bda8a;p=libpicofe.git diff --git a/gp2x/soc.c b/gp2x/soc.c index 5de0d23..43ebd85 100644 --- a/gp2x/soc.c +++ b/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;