* sprinkle some consts * replace some C-style casts by static_cast * replace NULL by nullptr
0a27f8bce2