Core/Build: Clean up more nonPCH-issues + fix a warning in Timer.h (unsigned/signed cast)

--HG--
branch : trunk
This commit is contained in:
click
2010-08-21 09:53:04 +02:00
parent 6939c92a76
commit f7ad5b2624
6 changed files with 12 additions and 2 deletions
+1
View File
@@ -18,6 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "DatabaseEnv.h"
#include "Mail.h"
#include "WorldPacket.h"
#include "WorldSession.h"
@@ -16,6 +16,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "DatabaseEnv.h"
#include "ReputationMgr.h"
#include "DBCStores.h"
#include "Player.h"
-1
View File
@@ -61,4 +61,3 @@
# pragma warning( disable : 4786 ) // identifier was truncated to '255' characters in the debug information
#endif
#endif
@@ -15,7 +15,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "Common.h"
#include <mysql.h>
#include "DatabaseEnv.h"
#include "QueryResult.h"
#include "SQLOperation.h"
@@ -14,9 +14,13 @@
#include <tchar.h>
#define _NO_CVCONST_H
#include <dbghelp.h>
#include "WheatyExceptionReport.h"
#include "Common.h"
#include "SystemConfig.h"
#include "revision.h"
#define CrashFolder _T("Crashes")
#pragma comment(linker, "/DEFAULTLIB:dbghelp.lib")
+1 -1
View File
@@ -191,7 +191,7 @@ struct PeriodicTimer
if ((i_expireTime -= diff) > 0)
return false;
i_expireTime += i_period > diff ? i_period : diff;
i_expireTime += i_period > int32(diff) ? i_period : diff;
return true;
}