Commit ad5ad003 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use prefix ++operator for loop index increment

parent b74474e7
......@@ -86,7 +86,7 @@ static PwFraction pipewireFractionFromDouble(double src)
N = 1;
D = 1;
for (i = 0; i < MAX_TERMS; i++) {
for (i = 0; i < MAX_TERMS; ++i) {
/* get next term */
A = (gint) F; /* no floor() needed, F is always >= 0 */
/* get new divisor */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment