Wold-style-cast fix for OTEnvelope.cpp