Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84480
b: refs/heads/master
c: edd319d
h: refs/heads/master
v: v3
  • Loading branch information
David Chinner authored and Lachlan McIlroy committed Feb 7, 2008
1 parent e30caf1 commit 6ab2ca0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45ba598e56fa9f77801e06432b50580d97994fa4
refs/heads/master: edd319dc527733e61eec5bdc9ce20c94634b6482
8 changes: 4 additions & 4 deletions trunk/fs/xfs/xfs_bit.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ static inline int xfs_highbit64(__uint64_t v)
/* Get low bit set out of 32-bit argument, -1 if none set */
static inline int xfs_lowbit32(__uint32_t v)
{
unsigned long t = v;
return (v) ? find_first_bit(&t, 32) : -1;
__uint32_t t = v;
return (t) ? find_first_bit((unsigned long *)&t, 32) : -1;
}

/* Get low bit set out of 64-bit argument, -1 if none set */
static inline int xfs_lowbit64(__uint64_t v)
{
unsigned long t = v;
return (v) ? find_first_bit(&t, 64) : -1;
__uint64_t t = v;
return (t) ? find_first_bit((unsigned long *)&t, 64) : -1;
}

/* Return whether bitmap is empty (1 == empty) */
Expand Down

0 comments on commit 6ab2ca0

Please sign in to comment.