thermferm/websocket.c

changeset 692
6d97eb820cc1
parent 684
b2265c7e5707
child 693
3518c07737d8
--- a/thermferm/websocket.c	Sat Apr 20 11:34:00 2024 +0200
+++ b/thermferm/websocket.c	Sat Apr 20 11:48:20 2024 +0200
@@ -347,7 +347,7 @@
 
 		memcpy(buf, in, len);
 		buf[len] = '\0';
-		syslog(LOG_NOTICE, "ws: received %ld bytes %s", len, buf);
+		syslog(LOG_NOTICE, "ws: received %ld bytes %s", (long)len, buf);
 		/*
 		 * These are send by bmsapp to bmsd. Then bmsd resends these via MQTT.
 		 * Do we want to change that? Or use it for the new web pages.

mercurial