projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
450a127
)
core/writedec: Remove writechr; fix overflow in .cloop
author
Gene Cumm
<gene.cumm@gmail.com>
Sun, 24 Oct 2010 21:15:41 +0000
(17:15 -0400)
committer
Gene Cumm
<gene.cumm@gmail.com>
Sun, 24 Oct 2010 21:15:41 +0000
(17:15 -0400)
writechr is found in other files and this prevents a compile error.
core/writedec.inc
patch
|
blob
|
history
diff --git
a/core/writedec.inc
b/core/writedec.inc
index
bfac099
..
19e4796
100644
(file)
--- a/
core/writedec.inc
+++ b/
core/writedec.inc
@@
-37,6
+37,7
@@
writedec_common:
xor cx,cx ; Number of digits
.cloop:
+ mov edx,0
div ebx
inc cx
push dx
@@
-53,5
+54,5
@@
writedec_common:
popad
ret
-writechr:
-
ret
+
;
writechr:
+
;
ret