1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

size_t is unsigned long not long long on linux.

which means printf-like functions are still warning about it. i just need them to shut up.
This commit is contained in:
Sandu Liviu Catalin 2019-08-17 15:52:04 +03:00
parent 8769051980
commit 736b6461ba

View File

@ -348,7 +348,8 @@ bool Core::Initialize()
// Are there any options to read?
if (conf.GetAllKeys("Options", options) || options.size() > 0)
{
cLogDbg(m_Verbosity >= 1, "Found (%" PRINT_SZ_FMT ") options in the configuration file", static_cast< size_t >(options.size()));
cLogDbg(m_Verbosity >= 1, "Found (%" PRINT_SZ_FMT ") options in the configuration file",
static_cast< SQUnsignedInteger >(options.size()));
// Process all the specified keys under the [Options] section
for (const auto & option : options)
{
@ -419,7 +420,7 @@ bool Core::Execute()
}
cLogDbg(m_Verbosity >= 2, "Completed execution of stage (%u) scripts. Pending scripts %" PRINT_SZ_FMT,
levels, static_cast< size_t >(m_PendingScripts.size()));
levels, static_cast< SQUnsignedInteger >(m_PendingScripts.size()));
}
// Create the null entity instances