Skip to content

Commit d0cedb5

Browse files
committed
fix differing types
1 parent ef4f905 commit d0cedb5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dupsifter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ uint64_t get_packed_barcode(bam1_t *read1, ds_conf_t *conf) {
762762
// This could be a corrected sequence, which should hopefully avoid any basecalling errors
763763
s = bam_aux_get(read1, "CB");
764764
if (s) {
765-
char *full = s+1;
765+
uint8_t *full = s+1;
766766
s++;
767767
while (*s) {
768768
if (*s != 'A' && *s != 'C' && *s != 'G' && *s != 'T' && *s != '+' && *s != '-') {
@@ -789,7 +789,7 @@ uint64_t get_packed_barcode(bam1_t *read1, ds_conf_t *conf) {
789789
// If CB cannot be found, try finding the CR tag, which is the uncorrected sequence that comes off the sequencer
790790
s = bam_aux_get(read1, "CR");
791791
if (s) {
792-
char *full = s+1;
792+
uint8_t *full = s+1;
793793
s++;
794794
while (*s) {
795795
if (*s != 'A' && *s != 'C' && *s != 'G' && *s != 'T' && *s != '+' && *s != '-') {

0 commit comments

Comments
 (0)