aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/crand.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-05-25 21:35:09 +0200
committerKim Alvefur <zash@zash.se>2016-05-25 21:35:09 +0200
commita94034cbe38778a9e9bdf6bc10faf8a1584f4156 (patch)
tree3556e1c72692e7f3e51123d92fbdc1d6ed34e820 /util-src/crand.c
parent02a58e54db100bda071a7043bbcfc0022d3a10af (diff)
parent01a15bfbe296ed254b1daae646f07640e389d70d (diff)
downloadprosody-a94034cbe38778a9e9bdf6bc10faf8a1584f4156.tar.gz
prosody-a94034cbe38778a9e9bdf6bc10faf8a1584f4156.zip
Merge 0.10->trunk
Diffstat (limited to 'util-src/crand.c')
-rw-r--r--util-src/crand.c2
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