diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-03-26 21:30:28 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-03-26 21:30:28 +0000 |
commit | 8be8fe7d87d20efcd91e6919f537991cec77d2c6 (patch) | |
tree | a81b9fc674619b0eb088cbbab89701ad7df668b5 | |
parent | e640e095e64a6016769ba9a0dc34d969b14b6154 (diff) |
fixed typo and warning
svn path=/trunk/externals/hcs/; revision=4774
-rw-r--r-- | folder_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <m_pd.h> #include <glob.h> -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 <hans@at.or.at>",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); |