Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   CMaNGOS Commits (http://mangos.ytdb.ru/forumdisplay.php?f=38)
-   -   [10692] Fixed wrongly use %d for guids in DB queries. (http://mangos.ytdb.ru/showthread.php?t=2849)

newsbot 07.11.2010 21:10

[10692] Fixed wrongly use %d for guids in DB queries.
 
автор: blueboy


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




Дальше...


Текущее время: 09:53. Часовой пояс GMT +3.

ru-mangos.ru - Русское сообщество MaNGOS