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