Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/cron/dist fix type



details:   https://anonhg.NetBSD.org/src/rev/05edb8448f5a
branches:  trunk
changeset: 811887:05edb8448f5a
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 20 23:43:52 2015 +0000

description:
fix type

diffstat:

 external/bsd/cron/dist/entry.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1aa0c3497296 -r 05edb8448f5a external/bsd/cron/dist/entry.c
--- a/external/bsd/cron/dist/entry.c    Fri Nov 20 20:41:58 2015 +0000
+++ b/external/bsd/cron/dist/entry.c    Fri Nov 20 23:43:52 2015 +0000
@@ -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 @@
        
        /* 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
         */



Home | Main Index | Thread Index | Old Index