diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-04 18:43:37 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-04 18:43:37 +0000 |
commit | 947d95da8269ba60c858e42bf72418092cdc0c8c (patch) | |
tree | 488620214f9b2b6feba42c95f840aceb8b4ee408 | |
parent | 47beba426a9280fc443ccf68a0debbd4a8b95c2a (diff) |
fix: 'format not a string literal and no format arguments [-Werror=format-security]'
svn path=/trunk/externals/ext13/; revision=16330
-rw-r--r-- | openpatch.c | 2 | ||||
-rw-r--r-- | strippath.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openpatch.c b/openpatch.c index 86b7b7d..ee72236 100644 --- a/openpatch.c +++ b/openpatch.c @@ -56,7 +56,7 @@ static void openpatch_symbol(t_openpatch *x, t_symbol *s) } else { strcpy (filename,s->s_name); - sprintf (path,x->x_path->s_name); + strcpy (path,x->x_path->s_name); } post ("path:%s , name:%s",path,filename); glob_evalfile(0,gensym(filename),gensym(path)); diff --git a/strippath.c b/strippath.c index 8af95fe..e192aff 100644 --- a/strippath.c +++ b/strippath.c @@ -49,7 +49,7 @@ static void strippath_symbol(t_strippath *x, t_symbol *s) } else { strcpy (filename,s->s_name); - sprintf (path,x->x_path->s_name); + strcpy (path,x->x_path->s_name); } outlet_symbol(x->x_obj.ob_outlet,gensym(filename)); // post ("path:%s , name:%s",path,filename); |