Fixed one error and several warnings with GLIB 2.0

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2663 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-04-10 02:53:06 +00:00 committed by cras
commit bd00ff54c2
7 changed files with 23 additions and 16 deletions

View file

@ -267,7 +267,8 @@ GList *filename_complete(const char *path, const char *default_path)
GList *list;
DIR *dirp;
struct dirent *dp;
char *realpath, *dir, *basename, *name;
const char *basename;
char *realpath, *dir, *name;
int len;
g_return_val_if_fail(path != NULL, NULL);