Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/disklabel Fix build.
details: https://anonhg.NetBSD.org/src/rev/be864a4b0ac2
branches: trunk
changeset: 339378:be864a4b0ac2
user: htodd <htodd%NetBSD.org@localhost>
date: Sat Jul 18 06:00:46 2015 +0000
description:
Fix build.
diffstat:
sbin/disklabel/bswap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 11f17825c8e8 -r be864a4b0ac2 sbin/disklabel/bswap.c
--- a/sbin/disklabel/bswap.c Sat Jul 18 00:57:35 2015 +0000
+++ b/sbin/disklabel/bswap.c Sat Jul 18 06:00:46 2015 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index