[syslinux:master] core/writedec: Remove writechr; fix overflow in .cloop

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Sun Nov 14 12:55:11 PST 2010


Commit-ID:  13bb76710838956e5932396498303638fb1a3b6f
Gitweb:     http://syslinux.zytor.com/commit/13bb76710838956e5932396498303638fb1a3b6f
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sun, 24 Oct 2010 17:15:41 -0400
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sun, 24 Oct 2010 17:15:41 -0400

core/writedec: Remove writechr; fix overflow in .cloop

writechr is found in other files and this prevents a compile error.


---
 core/writedec.inc |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/core/writedec.inc b/core/writedec.inc
index bfac099..19e4796 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



More information about the Syslinux-commits mailing list