Core/Misc: Fixed compile warnings