Comparison

util-src/crand.c @ 7441:df1be36f87b1

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Wed, 25 May 2016 21:35:09 +0200
parent 7439:4cccaa33b0a1
child 7818:54669df178c2
comparison
equal deleted inserted replaced
7438:6bf4c227c8f3 7441:df1be36f87b1
104 return 2; 104 return 2;
105 } 105 }
106 106
107 #endif 107 #endif
108 108
109 lua_pushlstring(L, buf, ret); 109 lua_pushlstring(L, (const char *)buf, ret);
110 #ifndef BUFLEN 110 #ifndef BUFLEN
111 free(buf); 111 free(buf);
112 #endif 112 #endif
113 return 1; 113 return 1;
114 } 114 }