summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-01-25 18:47:05 +0100
committerLennart Poettering <lennart@poettering.net>2023-01-25 18:47:05 +0100
commit6fe167d0a77f72086b457125fad6931ca02a4baf (patch)
treea175924cb09d59e56dcb8b2fc119670943c5ab4b /src
parentf2592ef0e113aef0e8e7141cab2b17521760b064 (diff)
downloadsystemd-6fe167d0a77f72086b457125fad6931ca02a4baf.tar.gz
journal-def: fix type of signature to match the actual field in the Header structure
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd/sd-journal/journal-def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-journal/journal-def.h b/src/libsystemd/sd-journal/journal-def.h
index 8f994b0178..ab4880761b 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" */ \