Software /
code /
prosody
Changeset
7966:30309fd01d76
util.pposix: Use correct type for limits [-Wconstant-conversion]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 07 Mar 2017 22:36:43 +0100 |
parents | 7965:57f98394b830 |
children | 7967:95e16696ef8a 7968:f0e35f4db9e0 |
files | util-src/pposix.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/pposix.c Tue Mar 07 22:33:57 2017 +0100 +++ b/util-src/pposix.c Tue Mar 07 22:36:43 2017 +0100 @@ -542,7 +542,7 @@ return -1; } -unsigned long int arg_to_rlimit(lua_State *L, int idx, rlim_t current) { +rlim_t arg_to_rlimit(lua_State *L, int idx, rlim_t current) { switch(lua_type(L, idx)) { case LUA_TSTRING: