diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-01-18 14:15:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-01-18 14:15:13 +0000 |
commit | 0e45d1767640de9d1271dc56304826773b3911ff (patch) | |
tree | fd706d7e3c797eebb2d28eb4e964ccad069258af | |
parent | bcfb60a3730b372b5cafd15e4e7783292f3e06b2 (diff) |
more size_t vs u_int fallout.. i guess the last
-rw-r--r-- | sys/arch/hp300/stand/libsa/rawfs.c | 9 | ||||
-rw-r--r-- | sys/arch/hp300/stand/libsa/rawfs.h | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/sys/arch/hp300/stand/libsa/rawfs.c b/sys/arch/hp300/stand/libsa/rawfs.c index 79b1853598c..b8bba2ddef5 100644 --- a/sys/arch/hp300/stand/libsa/rawfs.c +++ b/sys/arch/hp300/stand/libsa/rawfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rawfs.c,v 1.2 2002/03/14 01:26:31 millert Exp $ */ +/* $OpenBSD: rawfs.c,v 1.3 2006/01/18 14:15:12 deraadt Exp $ */ /* $NetBSD: rawfs.c,v 1.2 1996/10/06 19:07:53 thorpej Exp $ */ /* @@ -109,8 +109,8 @@ 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 rawfs_file *fs = (struct rawfs_file *)f->f_fsdata; char *addr = start; @@ -198,7 +198,8 @@ rawfs_get_block(f) struct open_file *f; { struct rawfs_file *fs; - int error, len; + size_t len; + int error; fs = (struct rawfs_file *)f->f_fsdata; fs->fs_ptr = fs->fs_buf; diff --git a/sys/arch/hp300/stand/libsa/rawfs.h b/sys/arch/hp300/stand/libsa/rawfs.h index 0838daab2f8..d86eac48d34 100644 --- a/sys/arch/hp300/stand/libsa/rawfs.h +++ b/sys/arch/hp300/stand/libsa/rawfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rawfs.h,v 1.2 2002/03/14 01:26:31 millert Exp $ */ +/* $OpenBSD: rawfs.h,v 1.3 2006/01/18 14:15:12 deraadt Exp $ */ /* $NetBSD: rawfs.h,v 1.1 1996/06/26 17:44:36 thorpej Exp $ */ /* @@ -9,8 +9,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); |