Added some parenthesis and a cast to control order of operations. (#32640)
authorNathan Ricci <naricc@microsoft.com>
Fri, 21 Feb 2020 18:50:55 +0000 (13:50 -0500)
committerGitHub <noreply@github.com>
Fri, 21 Feb 2020 18:50:55 +0000 (13:50 -0500)
commit58cf1468e1d9519c3752dfd40402eb4fda6fb9e9
tree3e45a8a9b31ea87b79bf109522353d2a8bb1a07e
parent7e398ff3a00081b5a238b282ba5e44ad42869bb7
Added some parenthesis and a cast to control order of operations. (#32640)

Fix intermittent negative values from GetTotalBytesAllocated.
src/mono/mono/metadata/sgen-mono.c