diff -r 124a804562a5 -r b88456001397 unix.c --- a/unix.c Sun Sep 12 20:28:52 2004 +0000 +++ b/unix.c Sun Sep 12 21:49:38 2004 +0000 @@ -279,7 +279,7 @@ // 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 : "/"; @@ -360,7 +360,7 @@ 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)