mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
removed an unnecessary shift and splut up som weird two-statements-per-line
code
This commit is contained in:
parent
87e7f4f688
commit
4d12be9867
@ -65,9 +65,11 @@ static void decodeQuantum(unsigned char *dest, const char *src)
|
|||||||
x = (x << 6);
|
x = (x << 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
dest[2] = (unsigned char)(x & 255); x >>= 8;
|
dest[2] = (unsigned char)(x & 255);
|
||||||
dest[1] = (unsigned char)(x & 255); x >>= 8;
|
x >>= 8;
|
||||||
dest[0] = (unsigned char)(x & 255); x >>= 8;
|
dest[1] = (unsigned char)(x & 255);
|
||||||
|
x >>= 8;
|
||||||
|
dest[0] = (unsigned char)(x & 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user