diff options
author | Spp <none@none> | 2010-08-23 15:46:12 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-08-23 15:46:12 +0200 |
commit | 050f85b2c60a455b9326bd2c1461d3537fa0bae5 (patch) | |
tree | 903dfd6c0fc2bbfd059f4778e7ee4f4784ef6d50 /src | |
parent | 51d8333ccc65b230694ad82ae1e5a5105aba4b78 (diff) |
Core: Fix Windows compile
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Battlegrounds/Zones/BattlegroundAV.h | 2 | ||||
-rw-r--r-- | src/server/worldserver/CommandLine/CliRunnable.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
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>"); |