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 | be7652fe789c39d95f38a5a2dc7c5b10e46437ca (patch) | |
tree | 43e80209a49bd22f72aa9292ed59cfb395858a27 /util-src/crand.c | |
parent | 83eb775cb0b7287da70b8203cf7acfd5fd4b9c26 (diff) | |
download | prosody-be7652fe789c39d95f38a5a2dc7c5b10e46437ca.tar.gz prosody-be7652fe789c39d95f38a5a2dc7c5b10e46437ca.zip |
util.crand: Silence compiler warning
Diffstat (limited to 'util-src/crand.c')
-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 |