mirror of https://github.com/Icinga/icinga2.git
Win64 build fix.
This commit is contained in:
parent
494fb90547
commit
db90a785db
|
@ -145,12 +145,12 @@ Value StatusTable::ProgramStartAccessor(const Value& row)
|
|||
|
||||
Value StatusTable::NumHostsAccessor(const Value& row)
|
||||
{
|
||||
return DynamicType::GetObjects<Host>().size();
|
||||
return static_cast<long>(DynamicType::GetObjects<Host>().size());
|
||||
}
|
||||
|
||||
Value StatusTable::NumServicesAccessor(const Value& row)
|
||||
{
|
||||
return DynamicType::GetObjects<Service>().size();
|
||||
return static_cast<long>(DynamicType::GetObjects<Service>().size());
|
||||
}
|
||||
|
||||
Value StatusTable::ProgramVersionAccessor(const Value& row)
|
||||
|
|
|
@ -224,7 +224,7 @@
|
|||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dbghelp.lib;ws2_32.lib;shlwapi.lib;mmatch.lib;cJSON.lib;libeay32MTd.lib;ssleay32MTd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>dbghelp.lib;ws2_32.lib;shlwapi.lib;mmatch.lib;cJSON.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalDependencies>ws2_32.lib;shlwapi.lib</AdditionalDependencies>
|
||||
|
@ -272,7 +272,7 @@
|
|||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>dbghelp.lib;ws2_32.lib;shlwapi.lib;mmatch.lib;cJSON.lib;libeay32MT.lib;ssleay32MT.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>dbghelp.lib;ws2_32.lib;shlwapi.lib;mmatch.lib;cJSON.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalDependencies>ws2_32.lib;shlwapi.lib</AdditionalDependencies>
|
||||
|
|
|
@ -69,7 +69,7 @@ public:
|
|||
|
||||
void Unregister(const String& name)
|
||||
{
|
||||
int erased;
|
||||
size_t erased;
|
||||
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_Mutex);
|
||||
|
|
Loading…
Reference in New Issue