diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df4d7a3..60ec5c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,13 +43,15 @@ jobs: # Fails on configure on GCC and clang (process restrictions?) # - fedora:rawhide - fedora:latest + - fedora:42 + - fedora:41 - fedora:40 - fedora:39 - fedora:38 - fedora:37 - ubuntu:latest + - ubuntu:oracular - ubuntu:noble - - ubuntu:mantic - ubuntu:jammy - ubuntu:focal # On Ubuntu Bionic the Meson doesn't support feature options diff --git a/status.c b/status.c index 431c04f..b2ef2eb 100644 --- a/status.c +++ b/status.c @@ -43,7 +43,8 @@ void status_send_values(const char *id, struct status_value *values) status_get_ts(&ts); - len = snprintf(buf, sizeof(buf), "{\"ts\":%ld.%03ld, \"%s\":{ ", ts.tv_sec, ts.tv_nsec / 1000000, id); + len = snprintf(buf, sizeof(buf), "{\"ts\":%lld.%03ld, \"%s\":{ ", + (long long int)ts.tv_sec, ts.tv_nsec / 1000000, id); for (value = values; value->unit; value++) { if (value != values) {