Skip to content

Commit

Permalink
uint64_t -> int64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Bacon committed Mar 11, 2022
1 parent 32ef2be commit 09cc311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peak-classifier.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ void gff_process_subfeatures(FILE *gff_stream, FILE *bed_stream,
bl_bed_t bed_feature = BL_BED_INIT;
bool first_exon = true,
exon;
uint64_t intron_start = 0, // Silence bogus warning from GCC
int64_t intron_start = 0, // Silence bogus warning from GCC
intron_end;
char *feature,
strand,
Expand Down Expand Up @@ -418,7 +418,7 @@ void generate_upstream_features(FILE *feature_stream,
BL_POS_LIST_POSITIONS_AE(pos_list, c + 1));
}

snprintf(name, BL_BED_NAME_MAX_CHARS, "upstream%" PRIu64,
snprintf(name, BL_BED_NAME_MAX_CHARS, "upstream%" PRId64,
BL_POS_LIST_POSITIONS_AE(pos_list, c + 1));
bl_bed_set_name_cpy(&bed_feature[c], name, BL_BED_NAME_MAX_CHARS + 1);
}
Expand Down

0 comments on commit 09cc311

Please sign in to comment.