projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43dca33
)
util.crand: Silence compiler warning
author
Kim Alvefur
<zash@zash.se>
Wed, 25 May 2016 14:54:43 +0000
(16:54 +0200)
committer
Kim Alvefur
<zash@zash.se>
Wed, 25 May 2016 14:54:43 +0000
(16:54 +0200)
util-src/crand.c
patch
|
blob
|
history
diff --git
a/util-src/crand.c
b/util-src/crand.c
index 735135fb81a416de72ad849cf433bc5823c6aac6..fbdec8f8a4681da1d4a3536b4aae5fa6ed96ecd9 100644
(file)
--- 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