Replaced constant cast with unary negative.

Merged Chris Jewell requested to merge jewell-master-patch-70327 into master

Merge request reports