mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-13 01:45:56 +00:00
src/borg/compress.pyx: fix compiler warning, closes #6365
This resolves a compiler warning from the generated code that resulted from a comparison of two local variables of different signedness. The issue is resolved by changing the type of both to int since this seems like the safest choice available.
This commit is contained in:
parent
c6f284d43c
commit
8e640ae0f3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue