trq-2352 added a cast to prevent a compile warning.