From 1f74b681cb08f01e1f645b3182167908f18e3808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 12 Apr 2005 13:27:42 +0000 Subject: code cleanup svn path=/trunk/externals/zexy/; revision=2737 --- src/sfplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sfplay.c') diff --git a/src/sfplay.c b/src/sfplay.c index fd3a884..58f76f9 100644 --- a/src/sfplay.c +++ b/src/sfplay.c @@ -134,7 +134,7 @@ to split them on different ticks in steps of SFPLAY_WAITTICKS to avoid peak performance */ /* like the one from garray */ -static int sfplay_am_i_big_endian() +static int sfplay_am_i_big_endian(void) { unsigned short s = 1; unsigned char c = *(char *) (&s); @@ -458,7 +458,7 @@ static t_int *sfplay_perform(t_int *w) } /* first read soundfile 16 bit*/ - if((j=fread(buf,sizeof(short),c*n,x->fp)) < (unsigned int) n) + if((j=fread(buf,sizeof(short),c*n,x->fp)) < n) { outlet_bang(x->bangout); -- cgit v1.2.1