Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86398
b: refs/heads/master
c: db69c91
h: refs/heads/master
v: v3
  • Loading branch information
Lachlan McIlroy authored and Lachlan McIlroy committed Feb 26, 2008
1 parent 5f0ff8d commit 24ceb64
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: 91e229bbad6524aabaac8717b2f559283670c37a
refs/heads/master: db69c915e67705daac25cad06d816c09be634de0
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)
{
__uint32_t t = v;
return (t) ? find_first_bit((unsigned long *)&t, 32) : -1;
unsigned long t = v;
return (v) ? find_first_bit(&t, 32) : -1;
}

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

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

0 comments on commit 24ceb64

Please sign in to comment.