diff options
author | Kim Alvefur <zash@zash.se> | 2016-05-25 21:35:09 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-05-25 21:35:09 +0200 |
commit | 713422034f373d676d484d3f40fee0667416a25a (patch) | |
tree | 3556e1c72692e7f3e51123d92fbdc1d6ed34e820 /util-src/crand.c | |
parent | 4ba59d52f26e0fc37af41eecc501e21cd6b0aff4 (diff) | |
parent | 0fd7323ab79f69224bdd868ecabb2f3f6aed4e36 (diff) | |
download | prosody-713422034f373d676d484d3f40fee0667416a25a.tar.gz prosody-713422034f373d676d484d3f40fee0667416a25a.zip |
Merge 0.10->trunk
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 |