Add parentheses around the `Y` macro parameter usage.

Without the parentheses, the cast does not guarantee that the result will be an 
int after expansion. This does not have any adverse effect, but it may trigger 
warnings in static analyzers.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Harden the macro

Changes: https://git.openjdk.org/jdk/pull/32901/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32901&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8381878
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/32901.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32901/head:pull/32901

PR: https://git.openjdk.org/jdk/pull/32901

Reply via email to