You shouldn't need any casts here. Be it implicit or explicit, C or C++ style.