diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-05-16 22:20:07 +0300 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2019-05-17 09:39:46 +0300 |
commit | 8a8e84d297551793a055b6823d8c437b42c42572 (patch) | |
tree | 5d407fef603e53292ce0f1c4626e4ca243699b93 /src/journal-remote/journal-remote-main.c | |
parent | 56fb30d93e96d7f983af0cb4dff9155da91dd671 (diff) | |
download | systemd-8a8e84d297551793a055b6823d8c437b42c42572.tar.gz |
Replace the legacy ULONG_LONG_MAX with the C99 ULLONG_MAX
Diffstat (limited to 'src/journal-remote/journal-remote-main.c')
-rw-r--r-- | src/journal-remote/journal-remote-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c index 2321a91e7b..d32c51c3ce 100644 --- a/src/journal-remote/journal-remote-main.c +++ b/src/journal-remote/journal-remote-main.c @@ -528,7 +528,7 @@ static int dispatch_http_event(sd_event_source *event, void *userdata) { MHDDaemonWrapper *d = userdata; int r; - MHD_UNSIGNED_LONG_LONG timeout = ULONG_LONG_MAX; + MHD_UNSIGNED_LONG_LONG timeout = ULLONG_MAX; assert(d); @@ -538,7 +538,7 @@ static int dispatch_http_event(sd_event_source *event, return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "MHD_run failed!"); if (MHD_get_timeout(d->daemon, &timeout) == MHD_NO) - timeout = ULONG_LONG_MAX; + timeout = ULLONG_MAX; r = sd_event_source_set_time(d->timer_event, timeout); if (r < 0) { |