From 270455d302143b07961d8faac56c569efa6da363 Mon Sep 17 00:00:00 2001 From: william Date: Wed, 4 Mar 2015 17:54:40 -0800 Subject: fix unsigned char to char conversion warning --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/openssl.c b/src/openssl.c index 562927d..d64777f 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -4837,7 +4837,7 @@ static int ssl_getAlpnSelected(lua_State *L) { if (0 == len) { lua_pushnil(L); } else { - lua_pushlstring(L, data, len); + lua_pushlstring(L, (const char *)data, len); } return 1; } /*ssl_getAlpnSelected */ -- cgit v1.2.3-59-g8ed1b