@@ -276,13 +276,13 @@ char *FiosBrowseTo(const FiosItem *item)
return NULL;
}
// Get descriptive texts.
// Returns a path as well as a
// string describing the path.
StringID FiosGetDescText(char **path)
StringID FiosGetDescText(const char **path)
{
*path = _fios_path[0] ? _fios_path : "/";
#if defined(__linux__)
struct statvfs s;
@@ -357,13 +357,13 @@ bool FileExists(const char *filename)
return access(filename, 0) == 0;
static int LanguageCompareFunc(const void *a, const void *b)
return strcmp(*(char**)a, *(char**)b);
return strcmp(*(const char* const *)a, *(const char* const *)b);
int GetLanguageList(char **languages, int max)
DIR *dir;
struct dirent *dirent;