mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.crand: Silence compiler warning
This commit is contained in:
parent
59957bc13c
commit
478e9b9327
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue