Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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 */
......
Markdown is supported
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