Module Name:    src
Committed By:   htodd
Date:           Sat Jul 18 06:00:46 UTC 2015

Modified Files:
        src/sbin/disklabel: bswap.c

Log Message:
Fix build.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sbin/disklabel/bswap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/disklabel/bswap.c
diff -u src/sbin/disklabel/bswap.c:1.3 src/sbin/disklabel/bswap.c:1.4
--- src/sbin/disklabel/bswap.c:1.3	Fri Jul 17 20:30:21 2015
+++ src/sbin/disklabel/bswap.c	Sat Jul 18 06:00:46 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: bswap.c,v 1.3 2015/07/17 20:30:21 tsutsui Exp $	*/
+/*	$NetBSD: bswap.c,v 1.4 2015/07/18 06:00:46 htodd Exp $	*/
 
 /*-
  * Copyright (c) 2009 Izumi Tsutsui.  All rights reserved.
@@ -74,7 +74,7 @@
 static void
 bswaplabel(struct disklabel *nlp, const struct disklabel *olp)
 {
-	int i;
+	u_int i;
 
 	nlp->d_magic          = bswap32(olp->d_magic);
 	nlp->d_type           = bswap16(olp->d_type);

Reply via email to