Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion status.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading