Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330089
b: refs/heads/master
c: e968756
h: refs/heads/master
i:
  330087: 4bf0252
v: v3
  • Loading branch information
Davidlohr Bueso authored and Linus Torvalds committed Oct 5, 2012
1 parent 3cf452f commit 1a41040
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f1f66ed7e1bdb7c88bb0bc45ac78cd075430d78
refs/heads/master: e96875677fb2b7cb739c5d7769824dff7260d31d
3 changes: 3 additions & 0 deletions trunk/lib/gcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ unsigned long gcd(unsigned long a, unsigned long b)

if (a < b)
swap(a, b);

if (!b)
return a;
while ((r = a % b) != 0) {
a = b;
b = r;
Expand Down

0 comments on commit 1a41040

Please sign in to comment.