# HG changeset patch # User Kim Alvefur # Date 1488922603 -3600 # Node ID 30309fd01d76a4778d6bafe35d58e0e92a38e5a6 # Parent 57f98394b830e5f2092ebab30faf27f29ab10371 util.pposix: Use correct type for limits [-Wconstant-conversion] diff -r 57f98394b830 -r 30309fd01d76 util-src/pposix.c --- 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: