PDA

Просмотр полной версии : [10692] Fixed wrongly use %d for guids in DB queries.


newsbot
07.11.2010, 22:11
<pre>m src/game/AccountMgr.cpp
m src/game/CharacterHandler.cpp
m src/game/Corpse.cpp
m src/game/InstanceData.cpp
m src/game/InstanceSaveMgr.cpp
m src/game/Level0.cpp
m src/game/Level2.cpp
m src/game/Level3.cpp
m src/game/Mail.cpp
m src/game/ObjectMgr.cpp
m src/game/Pet.cpp
m src/game/Player.cpp
m src/game/PlayerDump.cpp
m src/game/WaypointManager.cpp
m src/game/World.cpp
m src/mangosd/Master.cpp
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10692] Fixed wrongly use %d for guids in DB queries.

This can affect correct result in cases big guid values
(out of range for possitive part of int32 range) at x86 platforms.

Some other cases addded in addition to original patch fixes
where %d wrongly/unsafe used for unsigned values.

Signed-off-by: VladimirMangos <vladimir@getmangos.com></pre>




Дальше... (https://github.com/mangos/mangos/commit/ce91c917212aa21369d4aeed331582a1c66758bb)