Skip to content

Conversation

@TonVanDenBroek
Copy link

Changes to support OpenEXR 3,0

Copy link
Contributor

@c-lipka c-lipka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid, except for the issues with the Windows version. If you could address those (and maybe also fix the other type-related bugs along the way), that would be great.

(Edit: Same applies to the v3.8 pull request.)

unsigned long tellp()
{
unsigned long pos = os.tellg();
if((int) pos == -1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you're at it, all unsigned long in the file should be considered a bug. They should either be POV_LONG (v3.7) / POV_OFF_T (v3.8) or whatever we'll be using instead of Int64.

Same goes for the comparison with -1 here and further below: There's a bug lurking in there as well, and it should instead be something like if(pos == POV_LONG(-1)) (or correspondingly for v3.8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants