Explorar el Código

hashindex.pyx: fix signedness warning

Thomas Waldmann hace 2 años
padre
commit
d003046078
Se han modificado 1 ficheros con 2 adiciones y 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