sign-compare fix
This commit is contained in:
parent
460b9c8427
commit
8bbffe062a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nsdispatch.c,v 1.33 2008/08/17 10:51:19 gmcgarry Exp $ */
|
||||
/* $NetBSD: nsdispatch.c,v 1.34 2009/02/05 13:21:11 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998, 1999, 2004 The NetBSD Foundation, Inc.
|
||||
|
@ -63,7 +63,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: nsdispatch.c,v 1.33 2008/08/17 10:51:19 gmcgarry Exp $");
|
||||
__RCSID("$NetBSD: nsdispatch.c,v 1.34 2009/02/05 13:21:11 lukem Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -401,7 +401,7 @@ _nsdbtaddsrc(ns_dbt *dbt, const ns_src *src)
|
|||
void
|
||||
_nsdbtdump(const ns_dbt *dbt)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
_DIAGASSERT(dbt != NULL);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
%{
|
||||
/* $NetBSD: nsparser.y,v 1.10 2008/04/28 20:23:00 martin Exp $ */
|
||||
/* $NetBSD: nsparser.y,v 1.11 2009/02/05 13:21:11 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: nsparser.y,v 1.10 2008/04/28 20:23:00 martin Exp $");
|
||||
__RCSID("$NetBSD: nsparser.y,v 1.11 2009/02/05 13:21:11 lukem Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -157,7 +157,8 @@ static void
|
|||
_nsaddsrctomap(elem)
|
||||
const char *elem;
|
||||
{
|
||||
int i, lineno;
|
||||
unsigned int i;
|
||||
int lineno;
|
||||
|
||||
_DIAGASSERT(elem != NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue