Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2015 10:09:09 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290268 - head/usr.sbin/makefs/ffs
Message-ID:  <201511021009.tA2A99Ep065696@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Nov  2 10:09:09 2015
New Revision: 290268
URL: https://svnweb.freebsd.org/changeset/base/290268

Log:
  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
  MFC after: 1 week
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/usr.sbin/makefs/ffs/ffs_bswap.c

Modified: head/usr.sbin/makefs/ffs/ffs_bswap.c
==============================================================================
--- head/usr.sbin/makefs/ffs/ffs_bswap.c	Mon Nov  2 10:08:00 2015	(r290267)
+++ head/usr.sbin/makefs/ffs/ffs_bswap.c	Mon Nov  2 10:09:09 2015	(r290268)
@@ -67,7 +67,7 @@ void ffs_csumtotal_swap(struct csum_tota
 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, 
 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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511021009.tA2A99Ep065696>