Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/cd9660 size_t police
details: https://anonhg.NetBSD.org/src/rev/a4e42877a7e0
branches: trunk
changeset: 572264:a4e42877a7e0
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Dec 28 01:12:26 2004 +0000
description:
size_t police
pointed out by Jesse Off on source-changes@
diffstat:
sys/fs/cd9660/cd9660_extern.h | 4 ++--
sys/fs/cd9660/cd9660_util.c | 7 ++++---
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 45904341a11b -r a4e42877a7e0 sys/fs/cd9660/cd9660_extern.h
--- a/sys/fs/cd9660/cd9660_extern.h Tue Dec 28 00:08:08 2004 +0000
+++ b/sys/fs/cd9660/cd9660_extern.h Tue Dec 28 01:12:26 2004 +0000
@@ -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_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 *));
diff -r 45904341a11b -r a4e42877a7e0 sys/fs/cd9660/cd9660_util.c
--- a/sys/fs/cd9660/cd9660_util.c Tue Dec 28 00:08:08 2004 +0000
+++ b/sys/fs/cd9660/cd9660_util.c Tue Dec 28 01:12:26 2004 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index