aboutsummaryrefslogtreecommitdiff
path: root/mp3cast~.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp3cast~.c')
-rw-r--r--mp3cast~.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp3cast~.c b/mp3cast~.c
index 0568443..f50793d 100644
--- a/mp3cast~.c
+++ b/mp3cast~.c
@@ -135,10 +135,10 @@ static void mp3cast_encode(t_mp3cast *x)
int err = -1;
int n = x->x_lamechunk;
-#ifdef UNIX
- if(x->x_lamechunk < (int)sizeof(x->x_mp3inbuf))
-#else
+#ifdef _WIN32
if(x->x_lamechunk < sizeof(x->x_mp3inbuf))
+#else
+ if(x->x_lamechunk < (int)sizeof(x->x_mp3inbuf))
#endif
{
error("not enough memory!");