mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7532] Avoid warnings at use size_t with printf fromat strings.
This commit is contained in:
parent
b8b79d67ad
commit
f4482f247f
12 changed files with 32 additions and 32 deletions
|
|
@ -322,7 +322,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()
|
||||
|
|
@ -390,7 +390,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()
|
||||
|
|
@ -441,7 +441,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>
|
||||
|
|
@ -981,7 +981,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)
|
||||
|
|
@ -1108,7 +1108,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)
|
||||
|
|
@ -1181,7 +1181,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();
|
||||
}
|
||||
|
||||
|
|
@ -1223,7 +1223,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();
|
||||
}
|
||||
|
||||
|
|
@ -1368,7 +1368,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>
|
||||
|
|
@ -3411,7 +3411,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()
|
||||
|
|
@ -3547,7 +3547,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()
|
||||
|
|
@ -4097,7 +4097,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>
|
||||
|
|
@ -4292,7 +4292,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
|
||||
|
|
@ -5361,7 +5361,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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue