chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix misuse of uint64_t as size_t
[elogind.git]
/
src
/
journal
/
journal-verify.c
diff --git
a/src/journal/journal-verify.c
b/src/journal/journal-verify.c
index 333757b5b54b8a023da35ae1b137c4dfd58bc4ae..6c8ca8c268789965e5bc57bd545edeea2b15490e 100644
(file)
--- a/
src/journal/journal-verify.c
+++ b/
src/journal/journal-verify.c
@@
-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,