Fix compiler warnings

- Equality checker is ==