Module Name:    src
Committed By:   christos
Date:           Fri Nov 20 23:43:52 UTC 2015

Modified Files:
        src/external/bsd/cron/dist: entry.c

Log Message:
fix type


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/cron/dist/entry.c

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

Modified files:

Index: src/external/bsd/cron/dist/entry.c
diff -u src/external/bsd/cron/dist/entry.c:1.6 src/external/bsd/cron/dist/entry.c:1.7
--- src/external/bsd/cron/dist/entry.c:1.6	Fri Sep  5 17:32:37 2014
+++ src/external/bsd/cron/dist/entry.c	Fri Nov 20 18:43:52 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: entry.c,v 1.6 2014/09/05 21:32:37 christos Exp $	*/
+/*	$NetBSD: entry.c,v 1.7 2015/11/20 23:43:52 christos Exp $	*/
 
 /*
  * Copyright 1988,1990,1993,1994 by Paul Vixie
@@ -26,7 +26,7 @@
 #if 0
 static char rcsid[] = "Id: entry.c,v 1.17 2004/01/23 18:56:42 vixie Exp";
 #else
-__RCSID("$NetBSD: entry.c,v 1.6 2014/09/05 21:32:37 christos Exp $");
+__RCSID("$NetBSD: entry.c,v 1.7 2015/11/20 23:43:52 christos Exp $");
 #endif
 #endif
 
@@ -420,7 +420,7 @@ get_list(bitstr_t *bits, int low, int hi
 	
 	/* clear the bit string, since the default is 'off'.
 	 */
-	bit_nclear(bits, 0, (high-low+1));
+	bit_nclear(bits, 0, (size_t)(high-low+1));
 
 	/* process all ranges
 	 */

Reply via email to