Merge pull request #6366 from braewoods/warnings

src/borg/compress.pyx: fix compiler warning, closes #6365
This commit is contained in:
TW 2022-02-26 14:46:32 +01:00 committed by GitHub
commit d707542a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class ZSTD(DecidingCompressor):
if not isinstance(idata, bytes):
idata = bytes(idata) # code below does not work with memoryview
cdef int isize = len(idata)
cdef size_t osize
cdef int osize
cdef char *source = idata
cdef char *dest
cdef int level = self.level