diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-01-16 18:03:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-01-16 18:03:55 +0000 |
commit | 4323351c2394dd8865d0340b0d4bd25aae095198 (patch) | |
tree | 0699b28b05387329be5a50f314de9b2346856fa3 /sys/arch/mvme88k | |
parent | 99ef52ed5e637d59e0e47a296f08dbf91d9fedb1 (diff) |
adjust to size_t changes
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/stand/bootst/rawfs.c | 6 | ||||
-rw-r--r-- | sys/arch/mvme88k/stand/bootst/rawfs.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/mvme88k/stand/bootst/rawfs.c b/sys/arch/mvme88k/stand/bootst/rawfs.c index fb53e3e7472..db522f8391a 100644 --- a/sys/arch/mvme88k/stand/bootst/rawfs.c +++ b/sys/arch/mvme88k/stand/bootst/rawfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rawfs.c,v 1.2 2002/03/14 01:26:40 millert Exp $ */ +/* $OpenBSD: rawfs.c,v 1.3 2006/01/16 18:03:54 deraadt Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -93,8 +93,8 @@ int rawfs_close(f) int rawfs_read(f, start, size, resid) struct open_file *f; void *start; - u_int size; - u_int *resid; + size_t size; + size_t *resid; { struct cfile *fs = (struct cfile *)f->f_fsdata; char *addr = start; diff --git a/sys/arch/mvme88k/stand/bootst/rawfs.h b/sys/arch/mvme88k/stand/bootst/rawfs.h index d25d2fde8da..837bfd67cf9 100644 --- a/sys/arch/mvme88k/stand/bootst/rawfs.h +++ b/sys/arch/mvme88k/stand/bootst/rawfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rawfs.h,v 1.2 2002/03/14 01:26:40 millert Exp $ */ +/* $OpenBSD: rawfs.h,v 1.3 2006/01/16 18:03:54 deraadt Exp $ */ /* * Raw file system - for stream devices like tapes. @@ -8,8 +8,8 @@ int rawfs_open(char *path, struct open_file *f); int rawfs_close(struct open_file *f); int rawfs_read(struct open_file *f, void *buf, - u_int size, u_int *resid); + size_t size, size_t *resid); int rawfs_write(struct open_file *f, void *buf, - u_int size, u_int *resid); + size_t size, size_t *resid); off_t rawfs_seek(struct open_file *f, off_t offset, int where); int rawfs_stat(struct open_file *f, struct stat *sb); |