diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/openssl.c | 2 |
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) { if (0 == len) { lua_pushnil(L); } else { - lua_pushlstring(L, data, len); + lua_pushlstring(L, (const char *)data, len); } return 1; } /*ssl_getAlpnSelected */ |