Index: src/ch/MainWnd.cpp =================================================================== diff -u -ra08ca9e12d93e9a036a5cf739348ff3ef2a58be8 -r031c4e5f6be6ad9589ce5fea8292c990351f9a82 --- src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision a08ca9e12d93e9a036a5cf739348ff3ef2a58be8) +++ src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision 031c4e5f6be6ad9589ce5fea8292c990351f9a82) @@ -505,7 +505,7 @@ } catch(const chcore::TCoreException& e) { - strError.Format(_T("Error code: %ld"), e.GetErrorCode()); + strError.Format(_T("Error code: %d"), e.GetErrorCode()); } catch(const std::exception& e) { Index: src/ch/TTaskManagerWrapper.h =================================================================== diff -u -rd18db617f4727a237c94b59af9b4328f829eda16 -r031c4e5f6be6ad9589ce5fea8292c990351f9a82 --- src/ch/TTaskManagerWrapper.h (.../TTaskManagerWrapper.h) (revision d18db617f4727a237c94b59af9b4328f829eda16) +++ src/ch/TTaskManagerWrapper.h (.../TTaskManagerWrapper.h) (revision 031c4e5f6be6ad9589ce5fea8292c990351f9a82) @@ -24,7 +24,7 @@ class TTaskManagerWrapper { public: - TTaskManagerWrapper(const chcore::TTaskManagerPtr& spTaskManager); + explicit TTaskManagerWrapper(const chcore::TTaskManagerPtr& spTaskManager); chcore::TTaskPtr CreateTask(chcore::TTaskDefinition& rTaskDefinition); Index: src/liblogger/TLoggerLevelConfig.h =================================================================== diff -u -r7de00e54431d78b6c54fad6fb163dbc306381ef5 -r031c4e5f6be6ad9589ce5fea8292c990351f9a82 --- src/liblogger/TLoggerLevelConfig.h (.../TLoggerLevelConfig.h) (revision 7de00e54431d78b6c54fad6fb163dbc306381ef5) +++ src/liblogger/TLoggerLevelConfig.h (.../TLoggerLevelConfig.h) (revision 031c4e5f6be6ad9589ce5fea8292c990351f9a82) @@ -28,7 +28,7 @@ class LIBLOGGER_API TLoggerLevelConfig { public: - TLoggerLevelConfig(ESeverityLevel eMinSeverity = trace); + explicit TLoggerLevelConfig(ESeverityLevel eMinSeverity = trace); void SetMinSeverityLevel(ESeverityLevel eLevel); ESeverityLevel GetMinSeverityLevel() const;