aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-07 22:36:43 +0100
committerKim Alvefur <zash@zash.se>2017-03-07 22:36:43 +0100
commit014ceb2aa3d35b3b90e3d95d9a9256af09456503 (patch)
tree5815c972343e2645883f354b49ebb53522181d49 /util-src
parent8a9a5fe783823c920b865fa55153ec427b490f5d (diff)
downloadprosody-014ceb2aa3d35b3b90e3d95d9a9256af09456503.tar.gz
prosody-014ceb2aa3d35b3b90e3d95d9a9256af09456503.zip
util.pposix: Use correct type for limits [-Wconstant-conversion]
Diffstat (limited to 'util-src')
-rw-r--r--util-src/pposix.c2
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: