Skip to content

Commit

Permalink
use signed char for mask2iupac to avoid error on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLangmead committed Jul 4, 2020
1 parent 3a16ec6 commit 8a6d6ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alphabet.cpp
Expand Up @@ -273,7 +273,7 @@ int dnacomp[5] = {

const char *iupacs = "!ACMGRSVTWYHKDBN!acmgrsvtwyhkdbn";

char mask2iupac[16] = {
signed char mask2iupac[16] = {
-1,
'A', // 0001
'C', // 0010
Expand Down
2 changes: 1 addition & 1 deletion alphabet.h
Expand Up @@ -169,7 +169,7 @@ extern uint8_t nuccol2nuc[5][5];
extern uint8_t asc2dnamask[];

/// Convert a 4-bit mask into an IUPAC code
extern char mask2iupac[16];
extern signed char mask2iupac[16];

/**
* Return true iff c is an unambiguous Dna character.
Expand Down

0 comments on commit 8a6d6ca

Please sign in to comment.