fix all clang compiler warnings

Edit: On my system.

Edit: I don't have libroar so I can't fix that one.