[movitz-cvs] CVS update: movitz/losp/muerte/print.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Fri Aug 26 19:38:42 UTC 2005


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv28944

Modified Files:
	print.lisp 
Log Message:
Add some type declarations.

Date: Fri Aug 26 21:38:42 2005
Author: ffjeld

Index: movitz/losp/muerte/print.lisp
diff -u movitz/losp/muerte/print.lisp:1.20 movitz/losp/muerte/print.lisp:1.21
--- movitz/losp/muerte/print.lisp:1.20	Sun Aug 14 14:13:51 2005
+++ movitz/losp/muerte/print.lisp	Fri Aug 26 21:38:41 2005
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Mon Sep  3 11:48:19 2001
 ;;;;                
-;;;; $Id: print.lisp,v 1.20 2005/08/14 12:13:51 ffjeld Exp $
+;;;; $Id: print.lisp,v 1.21 2005/08/26 19:38:41 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -95,6 +95,7 @@
 	(do ((i (+ pos 1 (if sign-char 1 0) (if comma-interval (truncate pos comma-interval) 0))
 		(1+ i)))
 	    ((>= i mincol))
+	  (declare (index i))
 	  (write-char padchar stream)))
       (when sign-char
 	(write-char sign-char stream)))
@@ -159,6 +160,7 @@
   (with-subvector-accessor (string-ref string start end)
     (do ((i start (1+ i)))
 	((>= i end))
+      (declare (index i))
       (write-char (string-ref i) stream)))
   #+ignore (stream-write-string (output-stream-designator stream) string start end))
 




More information about the Movitz-cvs mailing list