mirror of https://github.com/borgbackup/borg.git
Merge pull request #6366 from braewoods/warnings
src/borg/compress.pyx: fix compiler warning, closes #6365
This commit is contained in:
commit
d707542a57
|
@ -286,7 +286,7 @@ class ZSTD(DecidingCompressor):
|
||||||
if not isinstance(idata, bytes):
|
if not isinstance(idata, bytes):
|
||||||
idata = bytes(idata) # code below does not work with memoryview
|
idata = bytes(idata) # code below does not work with memoryview
|
||||||
cdef int isize = len(idata)
|
cdef int isize = len(idata)
|
||||||
cdef size_t osize
|
cdef int osize
|
||||||
cdef char *source = idata
|
cdef char *source = idata
|
||||||
cdef char *dest
|
cdef char *dest
|
||||||
cdef int level = self.level
|
cdef int level = self.level
|
||||||
|
|
Loading…
Reference in New Issue