summaryrefslogtreecommitdiff
path: root/src/libs6/s6_svstatus_pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6/s6_svstatus_pack.c')
-rw-r--r--src/libs6/s6_svstatus_pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs6/s6_svstatus_pack.c b/src/libs6/s6_svstatus_pack.c
index c7afe24..f6e6e92 100644
--- a/src/libs6/s6_svstatus_pack.c
+++ b/src/libs6/s6_svstatus_pack.c
@@ -1,8 +1,8 @@
/* ISC license. */
#include <stdint.h>
-#include <skalibs/uint16.h>
#include <skalibs/uint64.h>
+#include <skalibs/types.h>
#include <skalibs/tai.h>
#include <s6/s6-supervise.h>
@@ -10,7 +10,7 @@ void s6_svstatus_pack (char *pack, s6_svstatus_t const *sv)
{
tain_pack(pack, &sv->stamp) ;
tain_pack(pack + 12, &sv->readystamp) ;
- uint64_pack_big(pack + 24, (uint64)sv->pid) ;
+ uint64_pack_big(pack + 24, (uint64_t)sv->pid) ;
uint16_pack_big(pack + 32, (uint16_t)sv->wstat) ;
pack[34] =
sv->flagpaused |