aboutsummaryrefslogtreecommitdiff
path: root/src/proone-htbthost.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proone-htbthost.c')
-rw-r--r--src/proone-htbthost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proone-htbthost.c b/src/proone-htbthost.c
index b34fdf5..106d899 100644
--- a/src/proone-htbthost.c
+++ b/src/proone-htbthost.c
@@ -81,7 +81,7 @@ static bool cb_hostinfo (void *ctx, prne_htbt_host_info_t *out) {
int fd;
now = prne_gettime(CLOCK_MONOTONIC);
- out->child_uptime = out->parent_uptime = prne_sub_timespec(
+ out->child_uptime = out->parent_uptime = (uint32_t)prne_sub_timespec(
now,
proc_start).tv_sec;
out->bne_cnt = 0;