mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed some subtle (but benign) undefined behaviour with negative bit-shifts
This commit is contained in:
parent
beec82b8cb
commit
b028f299b8
1 changed files with 4 additions and 4 deletions
|
|
@ -48,10 +48,10 @@ EdgeTable::EdgeTable (Rectangle<int> area, const Path& path, const AffineTransfo
|
|||
t += lineStrideElements;
|
||||
}
|
||||
|
||||
auto leftLimit = bounds.getX() << 8;
|
||||
auto topLimit = bounds.getY() << 8;
|
||||
auto rightLimit = bounds.getRight() << 8;
|
||||
auto heightLimit = bounds.getHeight() << 8;
|
||||
auto leftLimit = bounds.getX() * 256;
|
||||
auto topLimit = bounds.getY() * 256;
|
||||
auto rightLimit = bounds.getRight() * 256;
|
||||
auto heightLimit = bounds.getHeight() * 256;
|
||||
|
||||
PathFlatteningIterator iter (path, transform);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue