Fix a deprecated type conversion + ... add another explicit cast (interface is slightly inconsistent:) )