Changed casts to new C++ style in utils/log.hpp