util.crand: Silence compiler warning

This commit is contained in:
Kim Alvefur 2016-05-25 16:54:43 +02:00
parent 59957bc13c
commit 478e9b9327

View file

@ -106,7 +106,7 @@ int Lrandom(lua_State *L) {
#endif
lua_pushlstring(L, buf, ret);
lua_pushlstring(L, (const char *)buf, ret);
#ifndef BUFLEN
free(buf);
#endif