mirror of https://github.com/hak5/openwrt.git
parent
f0715bbde9
commit
3abffae7fb
|
@ -103,12 +103,12 @@ static int gcd(int a, int b)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
if ( a < b) {
|
if (a < b) {
|
||||||
c = a;
|
c = a;
|
||||||
a = b;
|
a = b;
|
||||||
b = c;
|
b = c;
|
||||||
}
|
}
|
||||||
while (c = (a % b)) {
|
while ((c = (a % b))) {
|
||||||
a = b;
|
a = b;
|
||||||
b = c;
|
b = c;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue