Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libp2k Explicitly cast enum type.
details: https://anonhg.NetBSD.org/src/rev/168b687075d8
branches: trunk
changeset: 782862:168b687075d8
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Nov 23 14:27:14 2012 +0000
description:
Explicitly cast enum type.
diffstat:
lib/libp2k/p2k.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0beb8b09e328 -r 168b687075d8 lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c Fri Nov 23 08:36:47 2012 +0000
+++ b/lib/libp2k/p2k.c Fri Nov 23 14:27:14 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: p2k.c,v 1.59 2012/11/18 19:04:22 pooka Exp $ */
+/* $NetBSD: p2k.c,v 1.60 2012/11/23 14:27:14 joerg Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -667,7 +667,7 @@
puffs_newinfo_setcookie(pni, p2n);
rump_pub_getvninfo(vp, &vtype, &vsize, (void *)&rdev);
- puffs_newinfo_setvtype(pni, vtype);
+ puffs_newinfo_setvtype(pni, (enum vtype)vtype);
puffs_newinfo_setsize(pni, vsize);
/* LINTED: yea, it'll lose accuracy, but that's life */
puffs_newinfo_setrdev(pni, rdev);
@@ -740,7 +740,7 @@
puffs_newinfo_setcookie(pni, p2n);
rump_pub_getvninfo(vp, &vtype, &vsize, (void *)&rdev);
- puffs_newinfo_setvtype(pni, vtype);
+ puffs_newinfo_setvtype(pni, (enum vtype)vtype);
puffs_newinfo_setsize(pni, vsize);
/* LINTED: yea, it'll lose accuracy, but that's life */
puffs_newinfo_setrdev(pni, rdev);
Home |
Main Index |
Thread Index |
Old Index