Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Fix build break due to signed/unsigned comparison
details: https://anonhg.NetBSD.org/src/rev/26edeff7b386
branches: trunk
changeset: 782444:26edeff7b386
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Nov 03 04:51:17 2012 +0000
description:
Fix build break due to signed/unsigned comparison
diffstat:
usr.bin/make/cond.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 9589b55b7f3d -r 26edeff7b386 usr.bin/make/cond.c
--- a/usr.bin/make/cond.c Sat Nov 03 03:10:50 2012 +0000
+++ b/usr.bin/make/cond.c Sat Nov 03 04:51:17 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cond.c,v 1.65 2012/11/03 02:25:13 sjg Exp $ */
+/* $NetBSD: cond.c,v 1.66 2012/11/03 04:51:17 pgoyette Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -70,14 +70,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: cond.c,v 1.65 2012/11/03 02:25:13 sjg Exp $";
+static char rcsid[] = "$NetBSD: cond.c,v 1.66 2012/11/03 04:51:17 pgoyette Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)cond.c 8.2 (Berkeley) 1/2/94";
#else
-__RCSID("$NetBSD: cond.c,v 1.65 2012/11/03 02:25:13 sjg Exp $");
+__RCSID("$NetBSD: cond.c,v 1.66 2012/11/03 04:51:17 pgoyette Exp $");
#endif
#endif /* not lint */
#endif
@@ -1237,7 +1237,7 @@
SKIP_TO_ENDIF /* nothing else to execute */
};
static enum if_states *cond_state = NULL;
- static int max_if_depth = MAXIF;
+ static unsigned int max_if_depth = MAXIF;
const struct If *ifp;
Boolean isElif;
Home |
Main Index |
Thread Index |
Old Index