We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d11a344 commit e29ac5dCopy full SHA for e29ac5d
lib/IlmImfCtl/ImfCtlApplyTransforms.cpp
@@ -487,8 +487,8 @@ applyTransforms
487
// Determine how many samples we will process.
488
//
489
490
- size_t totalSamples = (static_cast<size_t>(transformWindow.max.x) - static_cast<size_t>(transformWindow.min.x + 1)) *
491
- (static_cast<size_t>(transformWindow.max.y) - static_cast<size_t>(transformWindow.min.y + 1));
+ size_t totalSamples = static_cast<size_t>(transformWindow.max.x - transformWindow.min.x + 1) *
+ static_cast<size_t>(transformWindow.max.y - transformWindow.min.y + 1);
492
493
if (totalSamples <= 0)
494
return;
0 commit comments