From 050f85b2c60a455b9326bd2c1461d3537fa0bae5 Mon Sep 17 00:00:00 2001 From: Spp Date: Mon, 23 Aug 2010 15:46:12 +0200 Subject: Core: Fix Windows compile --HG-- branch : trunk --- src/server/game/Battlegrounds/Zones/BattlegroundAV.h | 2 +- src/server/worldserver/CommandLine/CliRunnable.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundAV.h b/src/server/game/Battlegrounds/Zones/BattlegroundAV.h index 9e72903e8dc..09524b08c55 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundAV.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundAV.h @@ -1514,7 +1514,7 @@ struct BG_AV_NodeInfo uint16 PrevOwner; BG_AV_States State; BG_AV_States PrevState; - uint Timer; + uint32 Timer; bool Tower; }; diff --git a/src/server/worldserver/CommandLine/CliRunnable.cpp b/src/server/worldserver/CommandLine/CliRunnable.cpp index 93fa821e345..01f2a2985c1 100644 --- a/src/server/worldserver/CommandLine/CliRunnable.cpp +++ b/src/server/worldserver/CommandLine/CliRunnable.cpp @@ -733,6 +733,7 @@ void CliRunnable::run() char *command_str ; // = fgets(commandbuf,sizeof(commandbuf),stdin); #if PLATFORM == WINDOWS + char commandbuf[256]; command_str = fgets(commandbuf,sizeof(commandbuf),stdin); #else command_str = readline("TC>"); -- cgit v1.2.3