An error occurred while fetching folder content.
S
sgi2y4m

Ralph Giles
authored
The output code uses (width + n) >> k to round up to the nearest boundary in calculating buffer sizes. Because many people are uncertain about the relative precedence of addition and shift operations, gcc warned about the code as-written. Abstract the calculation into a local variable for better readability and add parentheses to address the warning.
Name | Last commit | Last update |
---|