diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-04 23:32:09 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-04 23:32:09 +0000 |
commit | 116783794ea3af6318bde312505ee10e1ad46eb7 (patch) | |
tree | a38cd8647959e1032c5724bc494a4866308e3614 /ossmixer.c | |
parent | ceb70fb62c0a27f8e43e5e6553fbd1a99afa868b (diff) |
changed macro to the standard auto __gnu_linux__ and fixed memory allocation bug
svn path=/trunk/externals/ext13/; revision=11670
Diffstat (limited to 'ossmixer.c')
-rw-r--r-- | ossmixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ -#ifdef LINUX +#ifdef __gnu_linux__ #include "ext13.h" #include "m_pd.h" @@ -34,7 +34,7 @@ typedef struct _ossmixer static void *ossmixer_new(t_floatarg f) { - char* devicename; + char devicename[FILENAME_MAX]; int fd = -1; t_ossmixer *x = (t_ossmixer *)pd_new(ossmixer_class); outlet_new(&x->x_obj, &s_bang); |