while ((file = g_dir_read_name (repodir))) {
// Get filename without suffix
- gchar *name_without_suffix, *dot = NULL, *i = file;
+ gchar *name_without_suffix, *dot = NULL, *i = (gchar *) file;
for (; *i != '\0'; i++) if (*i == '.') dot = i;
if (!dot) continue; // Filename doesn't contain '.'
name_without_suffix = g_strndup(file, (dot - file));
* Return values: 0 - same; 1 - first is bigger; 2 - second is bigger,
* -1 - error
*/
- int ret1, ret2;
+ int ret1;
char *ver1, *ver2, *ver1_e, *ver2_e;
if (dep1 == dep2) return 0;