1859d9bc85
### What changes were proposed in this pull request? The main change of this pr is converting an int literal to a long literal to avoid potential integer multiplications overflow risk. For example: **Before** ```java void f(int i) { long val = 65536 * i; } ``` **After** ```java void f(int i) { long val = 65536L * i; } ``` ### Why are the changes needed? Avoid potential integer multiplications overflow risk ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass the Jenkins or GitHub Action Closes #33629 from LuciferYang/cast-to-long. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: Sean Owen <srowen@gmail.com> |
||
---|---|---|
.. | ||
kvstore | ||
network-common | ||
network-shuffle | ||
network-yarn | ||
sketch | ||
tags | ||
unsafe |