]> granicus.if.org Git - sysstat/commit
get_global_int_statistics(): Cast to size_t before operation is done
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 13 Mar 2022 10:46:24 +0000 (11:46 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 13 Mar 2022 10:46:24 +0000 (11:46 +0100)
commit8003ee5660aae5e28b57543cae9bf786efec0bcc
tree0ccea7b9c4f70ce8390b41737d64e2c10e24eae1
parent97d49f1d6e38afc0a233d1d57b2b3fc494f72f78
get_global_int_statistics(): Cast to size_t before operation is done

Use a cast to ensure that the multiplication is done using size_t.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sa_common.c