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:
parent
1203d7f120
commit
bb04fe3a77
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user