Closed daviesrob closed 9 months ago
Use htslib/hts_endian.h functions to avoid problems with unaligned access, and to ensure numbers are byte swapped on platforms that need it.
Ensure the right pointer type is passed to bcf_update_info_int32() in vcfconvert.c's _set_chrom_pos_ref_alt() function.
This should fix any latent problems on 32-bit arm hard-float that were in areas not covered by pull request #2042
After applying this patch, all tests pass on big-endian platforms.
Use htslib/hts_endian.h functions to avoid problems with unaligned access, and to ensure numbers are byte swapped on platforms that need it.
Ensure the right pointer type is passed to bcf_update_info_int32() in vcfconvert.c's _set_chrom_pos_ref_alt() function.
This should fix any latent problems on 32-bit arm hard-float that were in areas not covered by pull request #2042
After applying this patch, all tests pass on big-endian platforms.