#
72bfb144 |
| 17-Jul-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
PVS V1028: cast result of operation instead of operands
If an overflow occurs before the cast, we can't fix it. If we cast first, we can rely on integer promotion to make the result use the appropri
PVS V1028: cast result of operation instead of operands
If an overflow occurs before the cast, we can't fix it. If we cast first, we can rely on integer promotion to make the result use the appropriate size.
Change-Id: I7462e28422456c07f179f94d39c10c408d9bec36 Reviewed-on: https://review.haiku-os.org/c/1623 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
show more ...
|