turn on -Werror and fix resulting errors

Sorry I missed this one

```
tmp = z; z = -y; y = tmp;
tmp = x; x = y; y = -tmp;
```
@LorenzMeier agree?