[7532] Avoid warnings at use size_t with printf fromat strings. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
1 parent
cda206aacc
commit
941e5b9dbd
12 files changed
+43
-33
No files matched your search
+13
-13
@@ -384,7 +384,7 @@ void ObjectMgr::LoadCreatureLocales()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u creature locale strings", mCreatureLocaleMap.size() );
|
||||
sLog.outString( ">> Loaded %lu creature locale strings", (unsigned long)mCreatureLocaleMap.size() );
|
||||
}
|
||||
|
||||
void ObjectMgr::LoadNpcOptionLocales()
|
||||
@@ -452,7 +452,7 @@ void ObjectMgr::LoadNpcOptionLocales()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u npc_option locale strings", mNpcOptionLocaleMap.size() );
|
||||
sLog.outString( ">> Loaded %lu npc_option locale strings", (unsigned long)mNpcOptionLocaleMap.size() );
|
||||
}
|
||||
|
||||
void ObjectMgr::LoadPointOfInterestLocales()
|
||||
@@ -503,7 +503,7 @@ void ObjectMgr::LoadPointOfInterestLocales()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u points_of_interest locale strings", mPointOfInterestLocaleMap.size() );
|
||||
sLog.outString( ">> Loaded %lu points_of_interest locale strings", (unsigned long)mPointOfInterestLocaleMap.size() );
|
||||
}
|
||||
|
||||
struct SQLCreatureLoader : public SQLStorageLoaderBase<SQLCreatureLoader>
|
||||
@@ -1068,7 +1068,7 @@ void ObjectMgr::LoadCreatures()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u creatures", mCreatureDataMap.size() );
|
||||
sLog.outString( ">> Loaded %lu creatures", (unsigned long)mCreatureDataMap.size() );
|
||||
}
|
||||
|
||||
void ObjectMgr::AddCreatureToGrid(uint32 guid, CreatureData const* data)
|
||||
@@ -1196,7 +1196,7 @@ void ObjectMgr::LoadGameobjects()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u gameobjects", mGameObjectDataMap.size());
|
||||
sLog.outString( ">> Loaded %lu gameobjects", (unsigned long)mGameObjectDataMap.size());
|
||||
}
|
||||
|
||||
void ObjectMgr::AddGameobjectToGrid(uint32 guid, GameObjectData const* data)
|
||||
@@ -1269,7 +1269,7 @@ void ObjectMgr::LoadCreatureRespawnTimes()
|
||||
|
||||
delete result;
|
||||
|
||||
sLog.outString( ">> Loaded %u creature respawn times", mCreatureRespawnTimes.size() );
|
||||
sLog.outString( ">> Loaded %lu creature respawn times", (unsigned long)mCreatureRespawnTimes.size() );
|
||||
sLog.outString("");
|
||||
}
|
||||
|
||||
@@ -1311,7 +1311,7 @@ void ObjectMgr::LoadGameobjectRespawnTimes()
|
||||
|
||||
delete result;
|
||||
|
||||
sLog.outString( ">> Loaded %u gameobject respawn times", mGORespawnTimes.size() );
|
||||
sLog.outString( ">> Loaded %lu gameobject respawn times", (unsigned long)mGORespawnTimes.size() );
|
||||
sLog.outString("");
|
||||
}
|
||||
|
||||
@@ -1463,7 +1463,7 @@ void ObjectMgr::LoadItemLocales()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u Item locale strings", mItemLocaleMap.size() );
|
||||
sLog.outString( ">> Loaded %lu Item locale strings", (unsigned long)mItemLocaleMap.size() );
|
||||
}
|
||||
|
||||
struct SQLItemLoader : public SQLStorageLoaderBase<SQLItemLoader>
|
||||
@@ -3510,7 +3510,7 @@ void ObjectMgr::LoadQuests()
|
||||
}
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u quests definitions", mQuestTemplates.size() );
|
||||
sLog.outString( ">> Loaded %lu quests definitions", (unsigned long)mQuestTemplates.size() );
|
||||
}
|
||||
|
||||
void ObjectMgr::LoadQuestLocales()
|
||||
@@ -3646,7 +3646,7 @@ void ObjectMgr::LoadQuestLocales()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u Quest locale strings", mQuestLocaleMap.size() );
|
||||
sLog.outString( ">> Loaded %lu Quest locale strings", (unsigned long)mQuestLocaleMap.size() );
|
||||
}
|
||||
|
||||
void ObjectMgr::LoadPetCreateSpells()
|
||||
@@ -4209,7 +4209,7 @@ void ObjectMgr::LoadPageTextLocales()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u PageText locale strings", mPageTextLocaleMap.size() );
|
||||
sLog.outString( ">> Loaded %lu PageText locale strings", (unsigned long)mPageTextLocaleMap.size() );
|
||||
}
|
||||
|
||||
struct SQLInstanceLoader : public SQLStorageLoaderBase<SQLInstanceLoader>
|
||||
@@ -4404,7 +4404,7 @@ void ObjectMgr::LoadNpcTextLocales()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u NpcText locale strings", mNpcTextLocaleMap.size() );
|
||||
sLog.outString( ">> Loaded %lu NpcText locale strings", (unsigned long)mNpcTextLocaleMap.size() );
|
||||
}
|
||||
|
||||
//not very fast function but it is called only once a day, or on starting-up
|
||||
@@ -5573,7 +5573,7 @@ void ObjectMgr::LoadGameObjectLocales()
|
||||
delete result;
|
||||
|
||||
sLog.outString("");
|
||||
sLog.outString( ">> Loaded %u gameobject locale strings", mGameObjectLocaleMap.size() );
|
||||
sLog.outString( ">> Loaded %lu gameobject locale strings", (unsigned long)mGameObjectLocaleMap.size() );
|
||||
}
|
||||
|
||||
struct SQLGameObjectLoader : public SQLStorageLoaderBase<SQLGameObjectLoader>
|
||||
|
||||
Reference in new issue
Block a user