Skip to content

Commit

Permalink
Add parenthesis to be more explicit (2)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Chirico <chiricom@google.com>
  • Loading branch information
philippechataignon and MichaelChirico authored Sep 4, 2024
1 parent 45bf1d4 commit 255f1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ int compressbuff(z_stream *stream, void* dest, size_t *destLen, const void* sour
int err = deflate(stream, Z_SYNC_FLUSH);
*destLen = *destLen - stream->avail_out;
// *destLen = stream->total_out;
return err != Z_STREAM_ERROR ? Z_OK : err;
return (err != Z_STREAM_ERROR) ? Z_OK : err;
}
#endif

Expand Down

0 comments on commit 255f1ce

Please sign in to comment.