size_t police

pointed out by Jesse Off on source-changes@
This commit is contained in:
jdolecek 2004-12-28 01:12:26 +00:00
parent 8fca42fd9c
commit 477f876cd6
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd9660_extern.h,v 1.11 2004/11/21 21:49:08 jdolecek Exp $ */
/* $NetBSD: cd9660_extern.h,v 1.12 2004/12/28 01:12:26 jdolecek Exp $ */
/*-
* Copyright (c) 1994
@ -123,6 +123,6 @@ extern int (**cd9660_specop_p) __P((void *));
extern int (**cd9660_fifoop_p) __P((void *));
int isochar __P((const u_char *, const u_char *, int, u_int16_t *));
int isofncmp __P((const u_char *, int, const u_char *, int, int));
int isofncmp __P((const u_char *, size_t, const u_char *, size_t, int));
void isofntrans __P((u_char *, int, u_char *, u_short *, int, int, int, int));
ino_t isodirino __P((struct iso_directory_record *, struct iso_mnt *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd9660_util.c,v 1.4 2004/12/27 18:47:16 jdolecek Exp $ */
/* $NetBSD: cd9660_util.c,v 1.5 2004/12/28 01:12:26 jdolecek Exp $ */
/*-
* Copyright (c) 1994
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cd9660_util.c,v 1.4 2004/12/27 18:47:16 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: cd9660_util.c,v 1.5 2004/12/28 01:12:26 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -100,7 +100,8 @@ isochar(isofn, isoend, joliet_level, c)
int
isofncmp(fn, fnlen, isofn, isolen, joliet_level)
const u_char *fn, *isofn;
int fnlen, isolen, joliet_level;
size_t fnlen, isolen;
int joliet_level;
{
int i, j;
u_int16_t fc, ic;