Fixed warnings in both projects.