aboutsummaryrefslogtreecommitdiff
path: root/src/net/websocket.c
diff options
context:
space:
mode:
authorstilic <[email protected]>2026-05-06 15:24:42 +0200
committerstilic <[email protected]>2026-05-06 15:24:42 +0200
commit4de77da5c950bf4359429f95380d1bc5a108f3b9 (patch)
tree7cec7508a4b79d2a174178177aaf3c20d4a02f28 /src/net/websocket.c
parenta832c8e3c1abdd4bb267cb118ae85e94c8ce1c27 (diff)
fix for real this time
Diffstat (limited to 'src/net/websocket.c')
-rw-r--r--src/net/websocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/websocket.c b/src/net/websocket.c
index af37f32..06283f6 100644
--- a/src/net/websocket.c
+++ b/src/net/websocket.c
@@ -158,7 +158,7 @@ int l_ws_write(lua_State* L){
frame.mask = 0;
frame.opcode = 0b0001;
- uint64_t len;
+ size_t len;
const char* s = lua_tolstring(L, 2, &len);
str* f = str_init("");