summaryrefslogtreecommitdiffstats
path: root/src/journal/journald-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/journald-context.c')
-rw-r--r--src/journal/journald-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-context.c b/src/journal/journald-context.c
index 58151aa03d..add0a5480d 100644
--- a/src/journal/journald-context.c
+++ b/src/journal/journald-context.c
@@ -69,7 +69,7 @@
static size_t cache_max(void) {
static size_t cached = -1;
- if (cached == (size_t) -1) {
+ if (cached == SIZE_MAX) {
uint64_t mem_total;
int r;