]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal-def: fix type of signature to match the actual field in the Header structure
authorLennart Poettering <lennart@poettering.net>
Wed, 25 Jan 2023 17:47:05 +0000 (18:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Jan 2023 17:47:05 +0000 (18:47 +0100)
src/libsystemd/sd-journal/journal-def.h

index 8f994b01787252ea857aac973698ac2ba5dc0c45..ab4880761b3b6a71aa7c3354d94eef26c1725d2e 100644 (file)
@@ -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" */          \