From 8be8fe7d87d20efcd91e6919f537991cec77d2c6 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 26 Mar 2006 21:30:28 +0000 Subject: fixed typo and warning svn path=/trunk/externals/hcs/; revision=4774 --- folder_list.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'folder_list.c') diff --git a/folder_list.c b/folder_list.c index 912f64f..d1863af 100644 --- a/folder_list.c +++ b/folder_list.c @@ -1,7 +1,7 @@ #include #include -static char *version = "$Revision: 1.3 $"; +static char *version = "$Revision: 1.4 $"; #define DEBUG(x) //#define DEBUG(x) x @@ -25,7 +25,7 @@ typedef struct _folder_list { static void folder_list_output(t_folder_list* x) { DEBUG(post("folder_list_output");); - t_int i; + unsigned int i; DEBUG(post("globbing %s",x->x_pattern->s_name);); switch( glob( x->x_pattern->s_name, GLOB_TILDE, NULL, &(x->x_glob) ) ) @@ -72,7 +72,7 @@ static void *folder_list_new(t_symbol *s) post("[folder_list] %s, written by Hans-Christoph Steiner ",version); /* TODO set current dir of patch as default */ - x->x_pattern = gensym("/")); + x->x_pattern = gensym("/"); symbolinlet_new(&x->x_obj, &x->x_pattern); outlet_new(&x->x_obj, &s_symbol); -- cgit v1.2.1