Browse Source

hashindex.pyx: fix signedness warning

Thomas Waldmann 2 years ago
parent
commit
d003046078
1 changed files with 2 additions and 2 deletions
  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