[Ocfs2-commits] manish commits r1005 - branches/format-changes/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Jun 4 17:57:12 CDT 2004
Author: manish
Date: 2004-06-04 16:57:11 -0500 (Fri, 04 Jun 2004)
New Revision: 1005
Modified:
branches/format-changes/src/vote.c
Log:
bitops functions take unsigned long *
Modified: branches/format-changes/src/vote.c
===================================================================
--- branches/format-changes/src/vote.c 2004-06-04 21:53:23 UTC (rev 1004)
+++ branches/format-changes/src/vote.c 2004-06-04 21:57:11 UTC (rev 1005)
@@ -970,13 +970,13 @@
void ocfs_node_map_set_bit(ocfs_node_map *map, int bit)
{
OCFS_ASSERT(bit < map->num_nodes);
- set_bit(bit, (char *)map->map);
+ set_bit(bit, map->map);
}
void ocfs_node_map_clear_bit(ocfs_node_map *map, int bit)
{
OCFS_ASSERT(bit < map->num_nodes);
- clear_bit(bit, (char *)map->map);
+ clear_bit(bit, map->map);
}
// clear all the bits in "target" which are set in "mask"
@@ -1008,7 +1008,7 @@
int ocfs_node_map_test_bit(ocfs_node_map *map, int bit)
{
OCFS_ASSERT(bit < map->num_nodes);
- return test_bit(bit, (char *)map->map);
+ return test_bit(bit, map->map);
}
int ocfs_node_map_stringify(ocfs_node_map *map, char **str)
More information about the Ocfs2-commits
mailing list