DragonFly BSD
DragonFly submit List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

hpfs warnings patch


From: Alexey Slynko <slynko@xxxxxxxxx>
Date: Wed, 18 Jan 2006 19:20:21 +0300

Hi,

1) Add missed type casts
Index: /usr/src1/sys/vfs/hpfs/hpfs_vnops.c
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/sys/vfs/hpfs/hpfs_vnops.c,v
retrieving revision 1.27
diff -u -r1.27 hpfs_vnops.c
--- /usr/src1/sys/vfs/hpfs/hpfs_vnops.c	14 Sep 2005 01:13:36 -0000	1.27
+++ /usr/src1/sys/vfs/hpfs/hpfs_vnops.c	17 Jan 2006 22:29:54 -0000
@@ -1265,9 +1265,9 @@
 	{ &vop_print_desc, (vnodeopv_entry_t)hpfs_print },
 	{ &vop_old_create_desc, (vnodeopv_entry_t)hpfs_create },
 	{ &vop_old_remove_desc, (vnodeopv_entry_t)hpfs_remove },
-	{ &vop_islocked_desc, vop_stdislocked },
-	{ &vop_unlock_desc, vop_stdunlock },
-	{ &vop_lock_desc, vop_stdlock },
+	{ &vop_islocked_desc, (vnodeopv_entry_t)vop_stdislocked },
+	{ &vop_unlock_desc, (vnodeopv_entry_t)vop_stdunlock },
+	{ &vop_lock_desc, (vnodeopv_entry_t)vop_stdlock },
 	{ &vop_old_lookup_desc, (vnodeopv_entry_t)hpfs_lookup },
 	{ &vop_access_desc, (vnodeopv_entry_t)hpfs_access },
 	{ &vop_close_desc, (vnodeopv_entry_t)hpfs_close },
@@ -1278,7 +1278,7 @@
 	{ &vop_getpages_desc, (vnodeopv_entry_t) hpfs_getpages },
 	{ &vop_putpages_desc, (vnodeopv_entry_t) hpfs_putpages },
 	{ &vop_strategy_desc, (vnodeopv_entry_t)hpfs_strategy },
-	{ &vop_bwrite_desc, vop_stdbwrite },
+	{ &vop_bwrite_desc, (vnodeopv_entry_t)vop_stdbwrite },
 	{ &vop_read_desc, (vnodeopv_entry_t)hpfs_read },
 	{ &vop_write_desc, (vnodeopv_entry_t)hpfs_write },
 	{ &vop_ioctl_desc, (vnodeopv_entry_t)hpfs_ioctl },


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]