sbin/fsck_msdosfs: u_int32_t -> uint32_t
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 14 Sep 2019 22:54:03 +0000 (07:54 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 14 Sep 2019 22:57:21 +0000 (07:57 +0900)
sbin/fsck_msdosfs/dir.c
sbin/fsck_msdosfs/dosfs.h

index 984ca3d..c174484 100644 (file)
@@ -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++)
index 433ac11..13bb781 100644 (file)
@@ -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 */