89be67
diff --git a/src/compress.c b/src/compress.c
89be67
index 2b05352..ccb1cfd 100644
89be67
--- a/src/compress.c
89be67
+++ b/src/compress.c
89be67
@@ -183,7 +183,7 @@ sread(int fd, void *buf, size_t n, int canbepipe __attribute__ ((unused)))
89be67
 		goto nocheck;
89be67
 
89be67
 #ifdef FIONREAD
89be67
-	if ((canbepipe && (ioctl(fd, FIONREAD, &t) == -1)) || (t == 0)) {
89be67
+	if (canbepipe && ((ioctl(fd, FIONREAD, &t) == -1) || (t == 0))) {
89be67
 #ifdef FD_ZERO
89be67
 		for (cnt = 0;; cnt++) {
89be67
 			fd_set check;