diff options
author | Kim Alvefur <zash@zash.se> | 2016-05-25 16:54:43 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-05-25 16:54:43 +0200 |
commit | 478e9b9327fe09be13db51d64c8a175a0902789f (patch) | |
tree | 43e80209a49bd22f72aa9292ed59cfb395858a27 /util-src | |
parent | 59957bc13cbf9c18c8e7379559455d5d1802e7ec (diff) | |
download | prosody-478e9b9327fe09be13db51d64c8a175a0902789f.tar.gz prosody-478e9b9327fe09be13db51d64c8a175a0902789f.zip |
util.crand: Silence compiler warning
Diffstat (limited to 'util-src')
-rw-r--r-- | util-src/crand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/crand.c b/util-src/crand.c index 735135fb..fbdec8f8 100644 --- a/util-src/crand.c +++ b/util-src/crand.c @@ -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 |