Module Name:    src
Committed By:   dogcow
Date:           Sun Apr  5 12:15:07 UTC 2009

Modified Files:
        src/usr.sbin/mtree: spec.c

Log Message:
Watch one's "p"s and "q"s and fix cast aspersions on alpha ("warning: field
precision should have type 'int', but argument 2 has type 'long int'")


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/usr.sbin/mtree/spec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/mtree/spec.c
diff -u src/usr.sbin/mtree/spec.c:1.70 src/usr.sbin/mtree/spec.c:1.71
--- src/usr.sbin/mtree/spec.c:1.70	Sat Apr  4 21:49:49 2009
+++ src/usr.sbin/mtree/spec.c	Sun Apr  5 12:15:07 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: spec.c,v 1.70 2009/04/04 21:49:49 apb Exp $	*/
+/*	$NetBSD: spec.c,v 1.71 2009/04/05 12:15:07 dogcow Exp $	*/
 
 /*-
  * Copyright (c) 1989, 1993
@@ -67,7 +67,7 @@
 #if 0
 static char sccsid[] = "@(#)spec.c	8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: spec.c,v 1.70 2009/04/04 21:49:49 apb Exp $");
+__RCSID("$NetBSD: spec.c,v 1.71 2009/04/05 12:15:07 dogcow Exp $");
 #endif
 #endif /* not lint */
 
@@ -367,7 +367,7 @@
 			q = p + strlen(p);
 			while(q > p && q[-1] == ',')
 				q--;
-			printf("tags=%.*s ", q - p, p);
+			printf("tags=%.*s ", (int)(q - p), p);
 		}
 		puts(pathlast ? vispath(path) : "");
 

Reply via email to