diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-07 22:36:43 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-07 22:36:43 +0100 |
commit | 255423ab565b6c7f8653159ac6852deac16d2a48 (patch) | |
tree | 5815c972343e2645883f354b49ebb53522181d49 | |
parent | 3c789f1ac723d5e4673405d8cc250a977de17e53 (diff) | |
download | prosody-255423ab565b6c7f8653159ac6852deac16d2a48.tar.gz prosody-255423ab565b6c7f8653159ac6852deac16d2a48.zip |
util.pposix: Use correct type for limits [-Wconstant-conversion]
-rw-r--r-- | util-src/pposix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c index 78c02365..c0cced5c 100644 --- a/util-src/pposix.c +++ b/util-src/pposix.c @@ -542,7 +542,7 @@ int string2resource(const char *s) { 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: |