Please use explicit C++ casts. Should fix warning mentioned in #120