summaryrefslogtreecommitdiff
path: root/src/journal/journal-internal.h
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2012-03-16 11:59:04 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-22 01:09:37 +0100
commit4fd052aede13eb3041277c54ac2f5dee6e6c29cf (patch)
treea78001fa71f8e01e262123dfabebe3a23b41f8b7 /src/journal/journal-internal.h
parent170dcb7bd575f61aa75ce55d7fc0183ace6b8b76 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-internal.h b/src/journal/journal-internal.h
index e5914bfb63..17f1d317c7 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);
};