From dc5edbf2d4fac5e64c34b2cd33d7d40bf3b63b25 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Sun, 15 Sep 2019 07:54:03 +0900 Subject: [PATCH] sbin/fsck_msdosfs: u_int32_t -> uint32_t --- sbin/fsck_msdosfs/dir.c | 4 ++-- sbin/fsck_msdosfs/dosfs.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sbin/fsck_msdosfs/dir.c b/sbin/fsck_msdosfs/dir.c index 984ca3d36f..c174484c69 100644 --- a/sbin/fsck_msdosfs/dir.c +++ b/sbin/fsck_msdosfs/dir.c @@ -383,7 +383,7 @@ checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p, /* * Check size on ordinary files */ - u_int32_t physicalSize; + uint32_t physicalSize; if (dir->head == CLUST_FREE) physicalSize = 0; @@ -409,7 +409,7 @@ checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p, fullpath(dir)); if (ask(1, "Drop superfluous clusters")) { cl_t cl; - u_int32_t sz, len; + uint32_t sz, len; for (cl = dir->head, len = sz = 0; (sz += boot->ClusterSize) < dir->size; len++) diff --git a/sbin/fsck_msdosfs/dosfs.h b/sbin/fsck_msdosfs/dosfs.h index 433ac1166e..13bb7811ae 100644 --- a/sbin/fsck_msdosfs/dosfs.h +++ b/sbin/fsck_msdosfs/dosfs.h @@ -48,13 +48,13 @@ struct bootblock { u_int bpbResSectors; /* number of reserved sectors */ u_int bpbFATs; /* number of bpbFATs */ u_int bpbRootDirEnts; /* number of root directory entries */ - u_int32_t bpbSectors; /* total number of sectors */ + uint32_t bpbSectors; /* total number of sectors */ u_int bpbMedia; /* media descriptor */ u_int bpbFATsmall; /* number of sectors per FAT */ u_int SecPerTrack; /* sectors per track */ u_int bpbHeads; /* number of heads */ - u_int32_t bpbHiddenSecs; /* # of hidden sectors */ - u_int32_t bpbHugeSectors; /* # of sectors if bpbbpbSectors == 0 */ + uint32_t bpbHiddenSecs; /* # of hidden sectors */ + uint32_t bpbHugeSectors; /* # of sectors if bpbbpbSectors == 0 */ cl_t bpbRootClust; /* Start of Root Directory */ u_int bpbFSInfo; /* FSInfo sector */ u_int bpbBackup; /* Backup of Bootblocks */ -- 2.41.0