1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

journal-def: fix type of signature to match the actual field in the Header structure

This commit is contained in:
Lennart Poettering 2023-01-25 18:47:05 +01:00
parent f2592ef0e1
commit 6fe167d0a7

View 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" */ \