[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    svn commit: trunk/busybox/shell
From:       vapier () busybox ! net (vapier at busybox ! net)
Date:       2006-12-28 21:41:11
Message-ID: 20061228214111.4A627485AC () busybox ! net
[Download RAW message or body]

Author: vapier
Date: 2006-12-28 13:41:09 -0800 (Thu, 28 Dec 2006)
New Revision: 17101

Log:
* precision requires the argument be an integer, not size_t

Modified:
   trunk/busybox/shell/cmdedit.c


Changeset:
Modified: trunk/busybox/shell/cmdedit.c
===================================================================
--- trunk/busybox/shell/cmdedit.c	2006-12-28 21:33:30 UTC (rev 17100)
+++ trunk/busybox/shell/cmdedit.c	2006-12-28 21:41:09 UTC (rev 17101)
@@ -983,7 +983,7 @@
 
 		for (nc = 1; nc < ncols && n+nrows < nfiles; n += nrows, nc++) {
 			printf("%s%-*s", matches[n],
-				column_width - strlen(matches[n]), "");
+				(int)(column_width - strlen(matches[n])), "");
 		}
 		printf("%s\n", matches[n]);
 	}


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic