From 5384ddf545575bc27904b3534fb9d2340de7a1d7 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 27 Aug 2013 15:03:10 +0200 Subject: Fix Windows build and a few more problems --- include/configreader.h | 2 +- include/modules/regex.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 diff --git a/include/modules/regex.h b/include/modules/regex.h index 0bced4e2b..5ef00cdd0 100644 --- a/include/modules/regex.h +++ b/include/modules/regex.h @@ -46,7 +46,7 @@ public: class RegexFactory : public DataProvider { public: - RegexFactory(Module* creator, const std::string& name) : DataProvider(creator, name) { } + RegexFactory(Module* Creator, const std::string& Name) : DataProvider(Creator, Name) { } virtual Regex* Create(const std::string& expr) = 0; }; -- cgit v1.2.3