diff options
author | william <william@25thandclement.com> | 2015-03-04 17:54:40 -0800 |
---|---|---|
committer | william <william@25thandclement.com> | 2015-03-04 17:54:40 -0800 |
commit | 270455d302143b07961d8faac56c569efa6da363 (patch) | |
tree | 735f910cfa6348131dbf6f4b7a1fbabd5871ec4a | |
parent | 6f9c187aaaf0549d5d95317d9b4eb62609280906 (diff) | |
download | luaossl-270455d302143b07961d8faac56c569efa6da363.tar.gz luaossl-270455d302143b07961d8faac56c569efa6da363.tar.bz2 luaossl-270455d302143b07961d8faac56c569efa6da363.zip |
fix unsigned char to char conversion warning
-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 */ |