Skip to content

Commit

Permalink
fix extraneous unsigned compare accidentally merged
Browse files Browse the repository at this point in the history
  • Loading branch information
kdt3rd authored and nickrasmussen committed Aug 8, 2018
1 parent c6978f9 commit a56773b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenEXR/IlmImf/ImfDwaCompressor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2496,7 +2496,7 @@ DwaCompressor::uncompress
// start of the data block.
//

if ((version < 0) || (version > 2))
if (version > 2)
throw IEX_NAMESPACE::InputExc ("Invalid version of compressed data block");

setupChannelData(minX, minY, maxX, maxY);
Expand Down

0 comments on commit a56773b

Please sign in to comment.