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

Some 32-bit fixes. #307

Closed
wants to merge 1 commit into from
Closed

Some 32-bit fixes. #307

wants to merge 1 commit into from

Conversation

jkbonfield
Copy link
Contributor

Fixed a couple compiler warnings with %ld vs size_t in printf.

Fixed some overly large seeds to srand48.

Changed some of the test SAM files to no longer use values greater
than 2^31 (the limit required by the SAM specification).

Fixed a couple compiler warnings with %ld vs size_t in printf.

Fixed some overly large seeds to srand48.

Changed some of the test SAM files to no longer use values greater
than 2^31 (the limit required by the SAM specification).
@jkbonfield
Copy link
Contributor Author

It appears that most of these changes made their way in via commit a25229a.

The missing ones are the size of the integer fields in the test data, which are still 32-bit unsigned instead of 31-bit max. However the SAM spec has since been updated to allow -2^31 to +2^32 so the max values now are valid (and the code has evidently been fixed to no longer produce failures).

Therefore I'm closing this PR as already fixed (in 2014 no less!).

@jkbonfield jkbonfield closed this Apr 26, 2016
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.

None yet

1 participant