]> granicus.if.org Git - sysstat/commit
Cast variables to target type before use
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 2 Jun 2017 07:38:40 +0000 (09:38 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 2 Jun 2017 07:48:54 +0000 (09:48 +0200)
commit7a8306ad184cc2c2e9339c428a98773a7f818e3b
tree6900ecbb34e2d65f2d7141aec287b569bd84048b
parent7198cc640fbd9e23e47f38a23ead9c993ada6868
Cast variables to target type before use

This patch casts some variables to target type before they are used.
Without this patch, problems may happen (like issue #150) notably on 32
bit architectures where sizeof(long) is different from sizeof(long
long).

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