Skip to content

Commit 61babbf

Browse files
authored
Merge pull request #82 from lumag/fix-ci
Fix CI builds
2 parents 358fea7 + b0df12e commit 61babbf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ jobs:
4343
# Fails on configure on GCC and clang (process restrictions?)
4444
# - fedora:rawhide
4545
- fedora:latest
46+
- fedora:42
47+
- fedora:41
4648
- fedora:40
4749
- fedora:39
4850
- fedora:38
4951
- fedora:37
5052
- ubuntu:latest
53+
- ubuntu:oracular
5154
- ubuntu:noble
52-
- ubuntu:mantic
5355
- ubuntu:jammy
5456
- ubuntu:focal
5557
# On Ubuntu Bionic the Meson doesn't support feature options

status.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ void status_send_values(const char *id, struct status_value *values)
4343

4444
status_get_ts(&ts);
4545

46-
len = snprintf(buf, sizeof(buf), "{\"ts\":%ld.%03ld, \"%s\":{ ", ts.tv_sec, ts.tv_nsec / 1000000, id);
46+
len = snprintf(buf, sizeof(buf), "{\"ts\":%lld.%03ld, \"%s\":{ ",
47+
(long long int)ts.tv_sec, ts.tv_nsec / 1000000, id);
4748

4849
for (value = values; value->unit; value++) {
4950
if (value != values) {

0 commit comments

Comments
 (0)