supporting caanoo, line doublers, refactoring
[libpicofe.git] / gp2x / soc.c
index 5de0d23..43ebd85 100644 (file)
@@ -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;