From: Lennart Poettering Date: Wed, 25 Jan 2023 17:47:05 +0000 (+0100) Subject: journal-def: fix type of signature to match the actual field in the Header structure X-Git-Tag: v253-rc2~63^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fe167d0a77f72086b457125fad6931ca02a4baf;p=thirdparty%2Fsystemd.git journal-def: fix type of signature to match the actual field in the Header structure --- diff --git a/src/libsystemd/sd-journal/journal-def.h b/src/libsystemd/sd-journal/journal-def.h index 8f994b01787..ab4880761b3 100644 --- a/src/libsystemd/sd-journal/journal-def.h +++ b/src/libsystemd/sd-journal/journal-def.h @@ -195,7 +195,7 @@ enum { #endif #define HEADER_SIGNATURE \ - ((const char[]) { 'L', 'P', 'K', 'S', 'H', 'H', 'R', 'H' }) + ((const uint8_t[]) { 'L', 'P', 'K', 'S', 'H', 'H', 'R', 'H' }) #define struct_Header__contents { \ uint8_t signature[8]; /* "LPKSHHRH" */ \