Skip to content

Conversation

sstanley
Copy link

@sstanley sstanley commented Nov 9, 2012

The test for whether a long long will fit in an SInt32 is incorrect in - (NSAppleEventDescriptor *)pack:(id)anObject.

if (sint64 >= 0x80000000 && sint64 < 0x7FFFFFFF)

should be:

if (sint64 <= -0x80000000 && sint64 < 0x7FFFFFFF)

The test for whether a long long will fit in an SInt32 is incorrect. 
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.

1 participant