Skip to content

Commit

Permalink
util.crand: Silence compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Zash committed May 25, 2016
1 parent 43dca33 commit 884ef2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util-src/crand.c
Expand Up @@ -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
Expand Down

0 comments on commit 884ef2b

Please sign in to comment.