diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-12-04 07:37:56 +0300 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-12-09 23:42:56 +0100 |
commit | 268c22b1917243cf1c02f8e1ca39ee83c7297ccc (patch) | |
tree | 705671279a8d3fd5dac12c4bc29899e79183ad85 /nsscommon.h | |
parent | 965b658f73ff2a6d11198edc1b84a06a900c1fd7 (diff) | |
download | systemtap-steved-268c22b1917243cf1c02f8e1ca39ee83c7297ccc.tar.gz systemtap-steved-268c22b1917243cf1c02f8e1ca39ee83c7297ccc.tar.xz systemtap-steved-268c22b1917243cf1c02f8e1ca39ee83c7297ccc.zip |
Fix regression in statistic operations
In commit 98c783852039061db8c1611742660aaded0eab77 ("Use proper types
for do_div") I imprudently changed some variables to an unsigned type
while in some places the code actually relies on a sign.
So, let's be a bit smarter now and use temporary variables.
Reported-by: Wenji Huang <wenji.huang@oracle.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'nsscommon.h')
0 files changed, 0 insertions, 0 deletions