diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-02 20:15:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-02 20:15:34 +0100 |
commit | 1eb30a4c5c14a3aa11eeb8bbee6e0fcef7eaee29 (patch) | |
tree | 9b4160bfbeabd669a7eef32b8e4cf45d79fe2b2f /src/journal | |
parent | 375f1b0491568fc4e31fee95364d7c855371167e (diff) | |
parent | b3aa622929f81b44974d182636b1fde8b2a506e5 (diff) |
Merge pull request #2084 from keszybz/ppc64-fixes-2
Test fixes to run in ppc64 mock
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/compress.c b/src/journal/compress.c index e1ca0a8818..1a3d2cdd80 100644 --- a/src/journal/compress.c +++ b/src/journal/compress.c @@ -201,7 +201,7 @@ int decompress_blob_lz4(const void *src, uint64_t src_size, return -EBADMSG; size = le64toh( *(le64_t*)src ); - if (size < 0 || (le64_t) size != *(le64_t*)src) + if (size < 0 || (unsigned) size != le64toh(*(le64_t*)src)) return -EFBIG; if ((size_t) size > *dst_alloc_size) { out = realloc(*dst, size); |