aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar william <william@25thandclement.com> 2015-03-04 17:54:40 -0800
committerLibravatarLibravatar william <william@25thandclement.com> 2015-03-04 17:54:40 -0800
commit270455d302143b07961d8faac56c569efa6da363 (patch)
tree735f910cfa6348131dbf6f4b7a1fbabd5871ec4a
parent6f9c187aaaf0549d5d95317d9b4eb62609280906 (diff)
downloadluaossl-270455d302143b07961d8faac56c569efa6da363.tar.gz
luaossl-270455d302143b07961d8faac56c569efa6da363.tar.bz2
luaossl-270455d302143b07961d8faac56c569efa6da363.zip
fix unsigned char to char conversion warning
-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) {
if (0 == len) {
lua_pushnil(L);
} else {
- lua_pushlstring(L, data, len);
+ lua_pushlstring(L, (const char *)data, len);
}
return 1;
} /*ssl_getAlpnSelected */