Merge pull request #82 from lumag/fix-ci

Fix CI builds
This commit is contained in:
Konrad Dybcio
2025-02-12 19:18:42 +01:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -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) {