diff options
-rw-r--r-- | src/limiter_tilde.c | 2 | ||||
-rw-r--r-- | src/lpt.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/limiter_tilde.c b/src/limiter_tilde.c index fbe6e69..7a53d8d 100644 --- a/src/limiter_tilde.c +++ b/src/limiter_tilde.c @@ -259,7 +259,7 @@ static void set_compressor(t_limiter *x, t_floatarg limit, t_floatarg treshold, t_float lim = dbtorms(limit); t_float tresh = dbtorms(treshold); - if ((limit == 0) && (treshold = 0) && (ratio = 0)) {set_mode(x, COMPRESS); return;} + if ((limit == 0) && (treshold == 0) && (ratio == 0)) {set_mode(x, COMPRESS); return;} if (tresh > lim) tresh = lim; if (ratio < 0.) ratio = 1.; @@ -71,11 +71,11 @@ static int sys_inb(int port) static void sys_outb(unsigned char byte, int port) { - outb(byte, port); + outb(byte, port); } static int sys_inb(int port) { - inb(port); + return inb(port); } # endif /* NT */ #endif /* Z_WANT_LP */ |