summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-27 15:03:10 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-27 15:03:10 +0200
commit5384ddf545575bc27904b3534fb9d2340de7a1d7 (patch)
treebbf13f551069b3bdb2a26fa4b3eec980cc3bfc05 /include/configreader.h
parent6b16dbc84c748292535d1309cadf696f7828a8a4 (diff)
Fix Windows build and a few more problems
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 2aab0a075..6786604b5 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -58,7 +58,7 @@ class CoreExport ConfigTag : public refcountbase
* @param max Maximum acceptable value (optional)
* @return The duration in seconds
*/
- time_t getDuration(const std::string& key, time_t def = 0, long min = LONG_MIN, long max = LONG_MAX);
+ long getDuration(const std::string& key, long def = 0, long min = LONG_MIN, long max = LONG_MAX);
/** Get the value of an option
* @param key The option to get