chiark / gitweb /
Fix misuse of uint64_t as size_t
[elogind.git] / src / journal / journal-verify.c
index 333757b5b54b8a023da35ae1b137c4dfd58bc4ae..6c8ca8c268789965e5bc57bd545edeea2b15490e 100644 (file)
@@ -142,7 +142,7 @@ static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o
                 compression = o->object.flags & OBJECT_COMPRESSION_MASK;
                 if (compression) {
                         _cleanup_free_ void *b = NULL;
-                        uint64_t alloc = 0, b_size;
+                        size_t alloc = 0, b_size;
 
                         r = decompress_blob(compression,
                                             o->data.payload,