Skip to content

Commit

Permalink
Improve unclear subtraction.
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Hansen <[email protected]>
  • Loading branch information
Hoikas and zrax authored Jan 21, 2021
1 parent 34acd3a commit 5875cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Plasma/PubUtilLib/plCompression/plZlibCompress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ bool plZlibCompress::CompressToFile( hsStream * s, const char * filename )
{
for( ;; )
{
uint32_t avail = s->GetEOF()-s->GetPosition();
uint32_t avail = s->GetEOF() - s->GetPosition();
uint32_t n = ( avail > kGzBufferSize ) ? kGzBufferSize : avail;

if( n == 0 )
Expand Down

0 comments on commit 5875cb5

Please sign in to comment.