diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-09 09:23:35 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-09 09:23:35 +0000 |
commit | 5af653d140ca40d59833c8da1889f125eddb16e2 (patch) | |
tree | b0f270250980b845f6e92b07bf7766271e02d5d6 /usr.sbin/makefs | |
parent | 3142453fa3622a1cad6c02558cfa416887cb0ce9 (diff) | |
download | FreeBSD-src-5af653d140ca40d59833c8da1889f125eddb16e2.zip FreeBSD-src-5af653d140ca40d59833c8da1889f125eddb16e2.tar.gz |
MFC r290268:
Sync minor whitespace / type changes in ffs_csum_swap and ffs_sb_swap with
src/sys/ufs/ffs/ffs_bswap.c@1.39
Obtained from: NetBSD
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'usr.sbin/makefs')
-rw-r--r-- | usr.sbin/makefs/ffs/ffs_bswap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/makefs/ffs/ffs_bswap.c b/usr.sbin/makefs/ffs/ffs_bswap.c index a1a1c46..e62eb19 100644 --- a/usr.sbin/makefs/ffs/ffs_bswap.c +++ b/usr.sbin/makefs/ffs/ffs_bswap.c @@ -67,7 +67,7 @@ void ffs_csumtotal_swap(struct csum_total *o, struct csum_total *n); void ffs_sb_swap(struct fs *o, struct fs *n) { - int i; + size_t i; u_int32_t *o32, *n32; /* @@ -97,7 +97,7 @@ ffs_sb_swap(struct fs *o, struct fs *n) n->fs_csaddr = bswap64(o->fs_csaddr); n->fs_pendingblocks = bswap64(o->fs_pendingblocks); n->fs_pendinginodes = bswap32(o->fs_pendinginodes); - + /* These fields overlap with the second half of the * historic FS_42POSTBLFMT postbl table */ @@ -171,9 +171,9 @@ ffs_dinode2_swap(struct ufs2_dinode *o, struct ufs2_dinode *n) void ffs_csum_swap(struct csum *o, struct csum *n, int size) { - int i; + size_t i; u_int32_t *oint, *nint; - + oint = (u_int32_t*)o; nint = (u_int32_t*)n; |