diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-09-24 08:07:12 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-09-24 08:07:12 -0400 |
| commit | 8da920d3c06c8c05f4cc72f2514cb85e21c4ba60 (patch) | |
| tree | e217543e08b145aae9994761b9ece5232b2f6fdc /lib/workqueue.c | |
| parent | f12296baacce01d8ba851bd541b51aa16ca7fdd9 (diff) | |
bgpd: Ensure we do integer size promotions
When doing multiplication of (int) * (uint_8t) we can
have overflow and end up in a weird state. Intentionally
upgrade the type then do the math.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions
