This fixes a compilation failure under MinGW, where stdint.h types are not implicitly pulled in by other headers. The quick fix is to
#include <stdint.h>, however upon inspecting the types and their uses, it looked like using the fixed-size types is actually unnecessary. Tested on Linux (Debian 9) and MinGW (MSYS2).
mdb_dbi_open, which declares
ARG_UINT, which assigns an
unsigned int; also change
ww_ctx.nentries to silence a warning about signed/unsigned comparison.
checkpoint config more carefully. Reject negative or unreasonably large values for
minutes (previously, negative or large values were just reinterpreted as
uint32_t). Ensure both values are parsed successfully before making any changes.