Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23607
b: refs/heads/master
c: d74beb9
h: refs/heads/master
i:
  23605: cf887ba
  23603: 5fd3939
  23599: afe2333
v: v3
  • Loading branch information
Eric Dumazet authored and Linus Torvalds committed Mar 25, 2006
1 parent 638b9e0 commit c2a08b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 34f361ade2fb4a869f6a7714d01c04ce4cfa75d9
refs/heads/master: d74beb9f33a5f16d2965f11b275e401f225c949d
4 changes: 2 additions & 2 deletions trunk/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1363,15 +1363,15 @@ static void groups_sort(struct group_info *group_info)
/* a simple bsearch */
int groups_search(struct group_info *group_info, gid_t grp)
{
int left, right;
unsigned int left, right;

if (!group_info)
return 0;

left = 0;
right = group_info->ngroups;
while (left < right) {
int mid = (left+right)/2;
unsigned int mid = (left+right)/2;
int cmp = grp - GROUP_AT(group_info, mid);
if (cmp > 0)
left = mid + 1;
Expand Down

0 comments on commit c2a08b2

Please sign in to comment.