Skip to content

Commit 255f1ce

Browse files
Add parenthesis to be more explicit (2)
Co-authored-by: Michael Chirico <[email protected]>
1 parent 45bf1d4 commit 255f1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fwrite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ int compressbuff(z_stream *stream, void* dest, size_t *destLen, const void* sour
584584
int err = deflate(stream, Z_SYNC_FLUSH);
585585
*destLen = *destLen - stream->avail_out;
586586
// *destLen = stream->total_out;
587-
return err != Z_STREAM_ERROR ? Z_OK : err;
587+
return (err != Z_STREAM_ERROR) ? Z_OK : err;
588588
}
589589
#endif
590590

0 commit comments

Comments
 (0)