fixed compile errors on windows
This commit is contained in:
parent
23f0ecf5a6
commit
73f1b02ec6
2 changed files with 2 additions and 2 deletions
|
@ -606,7 +606,7 @@ bool do_replay(display& disp, const gamemap& map, const game_data& gameinfo,
|
|||
sound::play_sound(game_config::sounds::receive_message);
|
||||
}
|
||||
|
||||
const int side = lexical_cast_default<int>((*child)["side"].c_str());
|
||||
const int side = lexical_cast_default<int>((*child)["side"].c_str(),1);
|
||||
disp.add_chat_message((*child)["description"],side,(*child)["message"],
|
||||
team_name == "" ? display::MESSAGE_PUBLIC : display::MESSAGE_PRIVATE);
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@ preprocessor_streambuf::preprocessor_streambuf(preproc_map *def)
|
|||
}
|
||||
|
||||
preprocessor_streambuf::preprocessor_streambuf(preprocessor_streambuf const &t)
|
||||
: std::streambuf(), current_(NULL), defines_(t.defines_),
|
||||
: current_(NULL), defines_(t.defines_),
|
||||
textdomain_(PACKAGE), depth_(t.depth_), quoted_(t.quoted_)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue