@@ -1738,13 +1738,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)
{
char root[4];
DWORD spc, bps, nfc, tnc;
*path = _fios_path;
root[0] = _fios_path[0];
@@ -1809,13 +1809,13 @@ bool FileExists(const char *filename)
CloseHandle(hand);
return true;
static int CDECL 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)
HANDLE hand;
int num = 0;