X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2FBamConstants.h;h=ac672a667a4350b970692c67fe8fc07c6f2a48b3;hb=88577e25bbf4b6b43642cb679c5f9f5cba026fec;hp=e433c8e79df37d318a6f4a9c7b94b060494b9a92;hpb=cdf4bbcb19025398d429035fe672661a8c8d1a80;p=bamtools.git diff --git a/src/api/BamConstants.h b/src/api/BamConstants.h index e433c8e..ac672a6 100644 --- a/src/api/BamConstants.h +++ b/src/api/BamConstants.h @@ -1,9 +1,8 @@ // *************************************************************************** // BamConstants.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College -// All rights reserved. // --------------------------------------------------------------------------- -// Last modified: 19 April 2011 (DB) +// Last modified: 9 September 2011 (DB) // --------------------------------------------------------------------------- // Provides basic constants for handling BAM files. // *************************************************************************** @@ -27,8 +26,8 @@ const char* const BAM_HEADER_MAGIC = "BAM\1"; const unsigned int BAM_HEADER_MAGIC_LENGTH = 4; // BAM alignment core size -const int BAM_CORE_SIZE = 32; -const int BAM_CORE_BUFFER_SIZE = 8; +const unsigned int BAM_CORE_SIZE = 32; +const unsigned int BAM_CORE_BUFFER_SIZE = 8; // BAM alignment flags const int BAM_ALIGNMENT_PAIRED = 0x0001; @@ -119,8 +118,8 @@ const int Z_DEFAULT_MEM_LEVEL = 8; // BZGF constants const int BGZF_BLOCK_HEADER_LENGTH = 18; const int BGZF_BLOCK_FOOTER_LENGTH = 8; -const int BGZF_MAX_BLOCK_SIZE = 65536; -const int BGZF_DEFAULT_BLOCK_SIZE = 65536; +const unsigned int BGZF_MAX_BLOCK_SIZE = 65536; +const unsigned int BGZF_DEFAULT_BLOCK_SIZE = 65536; } // namespace Constants } // namespace BamTools