Don't assign non-integral constants to integral variables.

This commit is contained in:
joerg 2012-04-12 11:46:14 +00:00
parent b25f8d4458
commit 53baf6b85e
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: lfs_cleanerd.c,v 1.29 2012/02/02 03:47:11 perseant Exp $ */
/* $NetBSD: lfs_cleanerd.c,v 1.30 2012/04/12 11:46:16 joerg Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@ -1365,7 +1365,7 @@ lfs_cleaner_main(int argc, char **argv)
*/
atatime = 1;
segwait_timeout = 300; /* Five minutes */
load_threshold = 0.2;
load_threshold = 0;
stat_report = 0;
inval_segment = -1;
copylog_filename = NULL;

View File

@ -1,4 +1,4 @@
/* $NetBSD: wiconfig.c,v 1.43 2011/08/30 21:01:50 joerg Exp $ */
/* $NetBSD: wiconfig.c,v 1.44 2012/04/12 11:46:14 joerg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@ -68,7 +68,7 @@
#if !defined(lint)
__COPYRIGHT("@(#) Copyright (c) 1997, 1998, 1999\
Bill Paul. All rights reserved.");
__RCSID("$NetBSD: wiconfig.c,v 1.43 2011/08/30 21:01:50 joerg Exp $");
__RCSID("$NetBSD: wiconfig.c,v 1.44 2012/04/12 11:46:14 joerg Exp $");
#endif
struct wi_table {
@ -261,7 +261,7 @@ wi_apscan(char *iface)
rate = 2;
break;
case WI_APRATE_5:
rate = 5.5;
rate = 5;
break;
case WI_APRATE_11:
rate = 11;