Core/Misc: Fix compiler warnings