summaryrefslogtreecommitdiff
path: root/src/journal-remote/journal-remote-parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal-remote/journal-remote-parse.h')
-rw-r--r--src/journal-remote/journal-remote-parse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote-parse.h b/src/journal-remote/journal-remote-parse.h
index b02b5a6372..5b7f23650c 100644
--- a/src/journal-remote/journal-remote-parse.h
+++ b/src/journal-remote/journal-remote-parse.h
@@ -50,10 +50,10 @@ typedef struct RemoteSource {
sd_event_source *event;
} RemoteSource;
-static inline int source_non_empty(RemoteSource *source) {
+static inline size_t source_non_empty(RemoteSource *source) {
assert(source);
- return source->filled > 0;
+ return source->filled;
}
void source_free(RemoteSource *source);