diff options
author | Frederic Crozat <fcrozat@suse.com> | 2012-03-16 11:59:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-03-22 01:09:37 +0100 |
commit | 4fd052aede13eb3041277c54ac2f5dee6e6c29cf (patch) | |
tree | a78001fa71f8e01e262123dfabebe3a23b41f8b7 /src/journal/journal-internal.h | |
parent | 170dcb7bd575f61aa75ce55d7fc0183ace6b8b76 (diff) |
add sparse support to detect endianness bug
le16/32/64_t type should be used when storing little-endian value
header to integrate with sparse from Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'src/journal/journal-internal.h')
-rw-r--r-- | src/journal/journal-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-internal.h b/src/journal/journal-internal.h index e5914bfb6..17f1d317c 100644 --- a/src/journal/journal-internal.h +++ b/src/journal/journal-internal.h @@ -35,7 +35,7 @@ typedef struct Match Match; struct Match { char *data; size_t size; - uint64_t le_hash; + le64_t le_hash; LIST_FIELDS(Match, matches); }; |