aboutsummaryrefslogtreecommitdiff
path: root/src/htbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htbt.c')
-rw-r--r--src/htbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htbt.c b/src/htbt.c
index 09915e6..42e7573 100644
--- a/src/htbt.c
+++ b/src/htbt.c
@@ -26,7 +26,7 @@
// between 30 minutes and an hour
#define HTBT_CNCP_INT_MIN 1800000 // half an hour minimum interval
#define HTBT_CNCP_INT_JIT 1800000 // half an hour jitter
-#define HTBT_LBD_PORT prne_htobe16(PRNE_HTBT_PROTO_PORT)
+#define HTBT_LBD_PORT prne_htobe16((uint16_t)PRNE_HTBT_PROTO_PORT)
#define HTBT_LBD_BACKLOG 4
#define HTBT_LBD_MAX_CLIENTS 5