aboutsummaryrefslogtreecommitdiff
path: root/src/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.c')
-rw-r--r--src/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.c b/src/net.c
index 98cdf52..5208377 100644
--- a/src/net.c
+++ b/src/net.c
@@ -197,7 +197,7 @@ int i_ws_write(lua_State* L){
lua_gettable(L, 1);
struct net_data* data = lua_touserdata(L, -1);
- uint64_t clen;
+ size_t clen;
const char* content = luaL_tolstring(L, 2, &clen);
str* send_data = str_init("");