mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-21 01:27:14 +02:00
Changes required to compile on x64 and against extra compiler warnings.
This commit is contained in:
source
Base
Common.cppConfig.hppCore.cppEntity.cppEntity.hppEvent
Library
Datetime.cppFileIO.cppFormat.cppINI.cpp
IRC
JSON.cppLongInt.cppMath.cppNumeric.cppShared.cppString.cppSysPath.cppSystem.cppTimer.cppUtils.cppXML.cppMisc
Automobile.hppFunctions.cppModel.cppModel.hppPlayerImmunity.cppRadio.cppShared.cppShared.hppSkin.hppSound.cppVehicleImmunity.cppWastedSettings.cppWeapon.hppWorldBounds.cpp
Signal.hpp@ -390,7 +390,7 @@ const SQChar * LeftStr(const SQChar * t, SQChar f, SQUint32 w) noexcept
|
||||
w = 0;
|
||||
}
|
||||
// Is the string empty?
|
||||
else if (n < 0)
|
||||
else if (n == 0)
|
||||
{
|
||||
LogWrn("Invalid string length: %d < 0", n);
|
||||
}
|
||||
@ -430,7 +430,7 @@ const SQChar * LeftStr(const SQChar * t, SQChar f, SQUint32 w, SQUint32 o) noexc
|
||||
w = 0;
|
||||
}
|
||||
// Is the string empty?
|
||||
else if (n < 0)
|
||||
else if (n == 0)
|
||||
{
|
||||
LogWrn("Invalid string length: %d < 0", n);
|
||||
}
|
||||
@ -471,7 +471,7 @@ const SQChar * RightStr(const SQChar * t, SQChar f, SQUint32 w) noexcept
|
||||
w = 0;
|
||||
}
|
||||
// Is the string empty?
|
||||
else if (n < 0)
|
||||
else if (n == 0)
|
||||
{
|
||||
LogWrn("Invalid string length: %d < 0", n);
|
||||
}
|
||||
@ -511,7 +511,7 @@ const SQChar * RightStr(const SQChar * t, SQChar f, SQUint32 w, SQUint32 o) noex
|
||||
w = 0;
|
||||
}
|
||||
// Is the string empty?
|
||||
else if (n < 0)
|
||||
else if (n == 0)
|
||||
{
|
||||
LogWrn("Invalid string length: %d < 0", n);
|
||||
}
|
||||
@ -552,7 +552,7 @@ const SQChar * CenterStr(const SQChar * t, SQChar f, SQUint32 w) noexcept
|
||||
w = 0;
|
||||
}
|
||||
// Is the string empty?
|
||||
else if (n < 0)
|
||||
else if (n == 0)
|
||||
{
|
||||
LogWrn("Invalid string length: %d < 0", n);
|
||||
}
|
||||
|
Reference in New Issue
Block a user