mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-06 13:24:28 +02:00
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)
|
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)
|
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)
|
Value StatusTable::ProgramVersionAccessor(const Value& row)
|
||||||
|
@ -224,7 +224,7 @@
|
|||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<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>
|
</Link>
|
||||||
<Lib>
|
<Lib>
|
||||||
<AdditionalDependencies>ws2_32.lib;shlwapi.lib</AdditionalDependencies>
|
<AdditionalDependencies>ws2_32.lib;shlwapi.lib</AdditionalDependencies>
|
||||||
@ -272,7 +272,7 @@
|
|||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<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>
|
</Link>
|
||||||
<Lib>
|
<Lib>
|
||||||
<AdditionalDependencies>ws2_32.lib;shlwapi.lib</AdditionalDependencies>
|
<AdditionalDependencies>ws2_32.lib;shlwapi.lib</AdditionalDependencies>
|
||||||
|
@ -69,7 +69,7 @@ public:
|
|||||||
|
|
||||||
void Unregister(const String& name)
|
void Unregister(const String& name)
|
||||||
{
|
{
|
||||||
int erased;
|
size_t erased;
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(m_Mutex);
|
boost::mutex::scoped_lock lock(m_Mutex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user