aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2010-10-24 17:15:41 -0400
committerGene Cumm <gene.cumm@gmail.com>2010-10-24 17:15:41 -0400
commit13bb76710838956e5932396498303638fb1a3b6f (patch)
tree57212de078c1926e1396e0344415611ba5224aae
parent450a12732e3ac7bb85ef0d2ea0cbcfc6643168d5 (diff)
downloadsyslinux-13bb76710838956e5932396498303638fb1a3b6f.tar.gz
syslinux-13bb76710838956e5932396498303638fb1a3b6f.tar.xz
syslinux-13bb76710838956e5932396498303638fb1a3b6f.zip
core/writedec: Remove writechr; fix overflow in .cloop
writechr is found in other files and this prevents a compile error.
-rw-r--r--core/writedec.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/writedec.inc b/core/writedec.inc
index bfac0997..19e47968 100644
--- 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