Software /
code /
prosody
Diff
util-src/hashes.c @ 441:4089b62b510c
Minor changes to C files (to prevent compiler warnings)
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 27 Nov 2008 21:47:13 +0500 |
parent | 432:fb19a5c14d44 |
child | 520:e96ac4bb6dd8 |
line wrap: on
line diff
--- a/util-src/hashes.c Thu Nov 27 03:12:12 2008 +0000 +++ b/util-src/hashes.c Thu Nov 27 21:47:13 2008 +0500 @@ -26,7 +26,7 @@ int hex_out = lua_toboolean(L, 2); \ char hash[size]; \ char result[size*2]; \ - func(s, len, hash); \ + func((const unsigned char*)s, len, (unsigned char*)hash); \ if (hex_out) { \ toHex(hash, size, result); \ lua_pushlstring(L, result, size*2); \