Skip to content

Commit

Permalink
Merge branch 'mac-compile' into 'dev'
Browse files Browse the repository at this point in the history
fix mac compile

See merge request epi2melabs/fastcat!78
  • Loading branch information
cjw85 committed Nov 29, 2024
2 parents 8107152 + 54546b0 commit 65cc70b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [v0.19.1]
### Fixed
- Compilation on macOS with clang.

## [v0.19.0]
### Added
- Regions can now be provided in a three (or more) column BED file to `bamstats` to calculate per-region statistics.
Expand Down
2 changes: 1 addition & 1 deletion src/regiter.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

int region_from_string(char* input, char** chr, int* start, int* end) {
*chr = xalloc(strlen(input) + 1, sizeof(char), "chr");
strcpy(chr, input);
strcpy(*chr, input);
char *reg_chr = (char *) hts_parse_reg(input, start, end);
int rtn = 0;
if (reg_chr) {
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

const char *argp_program_version = "0.19.0";
const char *argp_program_version = "0.19.1";

0 comments on commit 65cc70b

Please sign in to comment.