Win64 build fix.

This commit is contained in:
Gunnar Beutner 2013-10-10 23:30:05 +02:00
parent 494fb90547
commit db90a785db
3 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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>

View File

@ -69,7 +69,7 @@ public:
void Unregister(const String& name)
{
int erased;
size_t erased;
{
boost::mutex::scoped_lock lock(m_Mutex);