From c4c1a29bd489969dbc21f1f140dee6915131e3d2 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 6 Jun 2006 16:19:11 +0000 Subject: [PATCH] don't use uint32_t when you mean size_t. --- sbin/fsck_msdos/fat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/fsck_msdos/fat.c b/sbin/fsck_msdos/fat.c index 028c0893c2e9..888daf3de313 100644 --- a/sbin/fsck_msdos/fat.c +++ b/sbin/fsck_msdos/fat.c @@ -1,4 +1,4 @@ -/* $NetBSD: fat.c,v 1.18 2006/06/05 16:51:18 christos Exp $ */ +/* $NetBSD: fat.c,v 1.19 2006/06/06 16:19:11 christos Exp $ */ /* * Copyright (C) 1995, 1996, 1997 Wolfgang Solfrank @@ -35,7 +35,7 @@ #include #ifndef lint -__RCSID("$NetBSD: fat.c,v 1.18 2006/06/05 16:51:18 christos Exp $"); +__RCSID("$NetBSD: fat.c,v 1.19 2006/06/06 16:19:11 christos Exp $"); #endif /* not lint */ #include @@ -471,7 +471,7 @@ writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) u_char *buffer, *p; cl_t cl; int i; - u_int32_t fatsz; + size_t fatsz; off_t off; int ret = FSOK;