Skip to content

Commit

Permalink
Remove casting for negative clevel with Zstd
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Mar 4, 2022
1 parent 26a46c5 commit 9613778
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hdf5plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ class Zstd(_FilterRefClass):

def __init__(self, clevel=None):
if clevel is not None:
clevel = _ctypes.c_uint(clevel).value
self.filter_options = (clevel,)


Expand Down

0 comments on commit 9613778

Please sign in to comment.