Fixed warnings against file common/consolesupport.cpp