1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-11 14:48:22 +00:00

Merge pull request #6367 from braewoods/warnings

[1.2-maint] src/borg/compress.pyx: fix compiler warning, closes #6365
This commit is contained in:
TW 2022-02-26 20:42:04 +01:00 committed by GitHub
commit d88d1674b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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