[8151] Fixed some format warnings and typos. Author: Win32

--HG--
branch : trunk
This commit is contained in:
megamage
2009-07-12 17:52:27 +08:00
parent 5e22d496ae
commit b5d802b70c
8 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ inline void LoadDBC(uint32& availableDbcLocales,barGoLink& bar, StoreProblemList
if(f)
{
char buf[100];
snprintf(buf,100," (exist, but have %d fields instead %d) Wrong client version DBC file?",storage.GetFieldCount(),strlen(storage.GetFormat()));
snprintf(buf,100," (exist, but have %d fields instead " SIZEFMTD ") Wrong client version DBC file?",storage.GetFieldCount(),strlen(storage.GetFormat()));
errlist.push_back(dbc_filename + buf);
fclose(f);
}