boxlib/progressbar: Fix imul overflow, use 32*32 mul.

git-svn-id: svn://kolibrios.org@7671 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2019-06-18 19:24:22 +00:00
parent 1203d7f120
commit bb04fe3a77

View File

@ -79,10 +79,9 @@ get_progress_width:
dec esi
sub eax, ecx
dec esi
imul eax, esi
neg ecx
add ecx, edx
xor edx, edx
mul esi
div ecx
ret