From f0212124fe09a8e9d57865b15e8874557c31d03a Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 2 Nov 2020 10:18:03 -0500 Subject: [PATCH] fix compiler warning Change-Id: I19ee1b097a4d0d85ba69fd01975e26f69c6c55fd --- daemon/websocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/websocket.c b/daemon/websocket.c index bdc42a759..56a4af51b 100644 --- a/daemon/websocket.c +++ b/daemon/websocket.c @@ -155,7 +155,7 @@ void websocket_write_next(struct websocket_conn *wc) { static const char *websocket_echo_process(struct websocket_message *wm) { - ilog(LOG_DEBUG, "Returning %lu bytes websocket echo from %s", wm->body->len, + ilog(LOG_DEBUG, "Returning %lu bytes websocket echo from %s", (unsigned long) wm->body->len, endpoint_print_buf(&wm->wc->endpoint)); websocket_write_binary(wm->wc, wm->body->str, wm->body->len, 1); return NULL;