forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9b53d96
committed
Suppress -Wshift-negative-value warnings.
Clean up four places that result in compiler warnings when using recentgcc with this warning class enabled (as seen on buildfarm memberscalliphoridae, skink, and others). In all these places, this is purelycosmetic, because the shift distance could not be large enough to riska change of sign, so there's no chance of implementation-dependentbehavior. Still, it's easy enough to avoid the warning by casting theshifted value to unsigned, so let's do that.Patch HEAD only, this isn't worth a back-patch.1 parent514d4a1 commit9b53d96
3 files changed
+6
-6
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
202 | 202 |
| |
203 | 203 |
| |
204 | 204 |
| |
205 |
| - | |
| 205 | + | |
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1486 | 1486 |
| |
1487 | 1487 |
| |
1488 | 1488 |
| |
1489 |
| - | |
| 1489 | + | |
1490 | 1490 |
| |
1491 | 1491 |
| |
1492 | 1492 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1539 | 1539 |
| |
1540 | 1540 |
| |
1541 | 1541 |
| |
1542 |
| - | |
| 1542 | + | |
1543 | 1543 |
| |
1544 | 1544 |
| |
1545 | 1545 |
| |
1546 |
| - | |
| 1546 | + | |
1547 | 1547 |
| |
1548 | 1548 |
| |
1549 | 1549 |
| |
| |||
1619 | 1619 |
| |
1620 | 1620 |
| |
1621 | 1621 |
| |
1622 |
| - | |
| 1622 | + | |
1623 | 1623 |
| |
1624 | 1624 |
| |
1625 | 1625 |
| |
1626 |
| - | |
| 1626 | + | |
1627 | 1627 |
| |
1628 | 1628 |
| |
1629 | 1629 |
| |
|
0 commit comments
Comments
(0)