Add std::dec after std::hex when necessary

This commit is contained in:
Charles Dang 2016-08-06 09:40:11 +11:00
parent 7fae63e471
commit 62f3502cf3
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ void mt_rng::seed_random(const uint32_t seed, const unsigned int call_count)
random_seed_ = seed;
mt_.seed(random_seed_);
discard(call_count); //mt_.discard(call_count);
DBG_RND << "Seeded random with " << std::hex << random_seed_ << " with "
DBG_RND << "Seeded random with " << std::hex << random_seed_ << std::dec << " with "
<< random_calls_ << " calls." << std::endl;
}

View file

@ -3545,7 +3545,7 @@ int game_lua_kernel::intf_modify_side(lua_State *L)
*/
int game_lua_kernel::intf_get_sides(lua_State* L)
{
LOG_LUA << "intf_get_sides called: this = " << std::hex << this << " myname = " << my_name() << std::endl;
LOG_LUA << "intf_get_sides called: this = " << std::hex << this << std::dec << " myname = " << my_name() << std::endl;
std::vector<int> sides;
const vconfig ssf = luaW_checkvconfig(L, 1, true);
if(ssf.null()){