Fix compiler warnings in the inspector