Explorar o código

hashindex.pyx: fix signedness warning

Thomas Waldmann %!s(int64=2) %!d(string=hai) anos
pai
achega
d003046078
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/borg/hashindex.pyx

+ 2 - 2
src/borg/hashindex.pyx

@@ -278,8 +278,8 @@ cdef class NSKeyIterator:
     cdef const unsigned char *key
     cdef int key_size
     cdef int exhausted
-    cdef int flag_mask
-    cdef int flag_value
+    cdef unsigned int flag_mask
+    cdef unsigned int flag_value
 
     def __cinit__(self, key_size, mask, value):
         self.key = NULL