THRIFT-5576: fix old-style cast and redundant copy
1 file changed