summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c2
1 files changed, 1 insertions, 1 deletions
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) {
4837 if (0 == len) { 4837 if (0 == len) {
4838 lua_pushnil(L); 4838 lua_pushnil(L);
4839 } else { 4839 } else {
4840 lua_pushlstring(L, data, len); 4840 lua_pushlstring(L, (const char *)data, len);
4841 } 4841 }
4842 return 1; 4842 return 1;
4843} /*ssl_getAlpnSelected */ 4843} /*ssl_getAlpnSelected */