Core/Misc: Fixed warnings