[STYLE] I introduced -Wold-style-cast to the CXX_FLAGS. This gives warning
if we use old-style casts which is forbidden by our coding standard. I also adapted the code that still had old-style casts. Thus there should be no such warnings at the moment.
Showing with 25 additions and 25 deletions