Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libp2k no need to typecast in pathconf anymore
details: https://anonhg.NetBSD.org/src/rev/6717c08529ff
branches: trunk
changeset: 755486:6717c08529ff
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Jun 07 11:23:07 2010 +0000
description:
no need to typecast in pathconf anymore
diffstat:
lib/libp2k/p2k.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r f08b5f7322ca -r 6717c08529ff lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c Mon Jun 07 11:22:36 2010 +0000
+++ b/lib/libp2k/p2k.c Mon Jun 07 11:23:07 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: p2k.c,v 1.39 2010/06/06 22:46:17 pooka Exp $ */
+/* $NetBSD: p2k.c,v 1.40 2010/06/07 11:23:07 pooka Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -1307,13 +1307,13 @@
/*ARGSUSED*/
int
p2k_node_pathconf(struct puffs_usermount *pu, puffs_cookie_t opc,
- int name, int *retval)
+ int name, register_t *retval)
{
struct vnode *vp = OPC2VP(opc);
int rv;
RUMP_VOP_LOCK(vp, LK_EXCLUSIVE);
- rv = RUMP_VOP_PATHCONF(vp, name, (register_t *)retval);
+ rv = RUMP_VOP_PATHCONF(vp, name, retval);
RUMP_VOP_UNLOCK(vp, 0);
return rv;
Home |
Main Index |
Thread Index |
Old Index