Small fixes.

* suppress warning of cast
* remove unnecessary unary plus