Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use LL for 64-bit literals #126

Merged
merged 2 commits into from
Aug 15, 2014

Conversation

fnordware
Copy link
Contributor

On a 32-bit architecture, these literals are too big for just a long,
they need to be long long, otherwise I get an error in GCC.

On a 32-bit architecture, these literals are too big for just a long,
they need to be long long, otherwise I get an error in GCC.
@ehanway-ilm
Copy link
Contributor

Shouldn't these actually be 0x...ULL since Int64 is unsigned?

@fnordware
Copy link
Contributor Author

Ah, good point. I think the way it'll underflow, you'll get to the same place, but may as well do it right. I can update the pull request if you like.

@ehanway-ilm
Copy link
Contributor

Please do.

@ehanway-ilm ehanway-ilm added this to the v2.2.1 milestone Aug 14, 2014
@fnordware
Copy link
Contributor Author

Done.

ehanway-ilm added a commit that referenced this pull request Aug 15, 2014
@ehanway-ilm ehanway-ilm merged commit 9101514 into AcademySoftwareFoundation:master Aug 15, 2014
@JuriAbramov
Copy link
Contributor

Please pull this to the develop branch as well.

BTW, which policy for the branches to you have? It's a bit strange to see a commit pulled into master, but not into dev.

@ehanway-ilm
Copy link
Contributor

The merge into master was an error. It should have gone into develop first.

edgarv pushed a commit to edgarv/openexr that referenced this pull request Jul 20, 2015
KevinJW pushed a commit to KevinJW/openexr that referenced this pull request Oct 29, 2015
dracwyrm pushed a commit to dracwyrm/openexr that referenced this pull request Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in the source code Build A problem with building or installing the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants