From 2d36fcb16ef3209fffbe9f4b600971a1edd2ae4b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 14 Apr 2018 14:59:35 +0100 Subject: Convert ConfigTag::getDuration to return an unsigned long. --- include/configreader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index d55c1830f..85ce21f14 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -59,7 +59,7 @@ class CoreExport ConfigTag : public refcountbase * @param max Maximum acceptable value (optional) * @return The duration in seconds */ - long getDuration(const std::string& key, long def, long min = LONG_MIN, long max = LONG_MAX); + unsigned long getDuration(const std::string& key, unsigned long def, unsigned long min = 0, unsigned long max = ULONG_MAX); /** Get the value of an option * @param key The option to get -- cgit v1.3.1-10-gc9f91