Skip to content

Commit 589824a

Browse files
committed
Fix erroneous equals should be assignment operator
1 parent 27be152 commit 589824a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/igzip_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ decompress_buf(IgzipDecompressor *self, Py_ssize_t max_length)
139139
obuflen = max_length;
140140
if (obuflen > DEF_MAX_INITIAL_BUF_SIZE){
141141
// Safeguard against memory overflow.
142-
obuflen == DEF_MAX_INITIAL_BUF_SIZE;
142+
obuflen = DEF_MAX_INITIAL_BUF_SIZE;
143143
}
144144
}
145145

0 commit comments

Comments
 (0)