cknadler / marktab-c

Concise, machine readable guitar tabs
MIT License
36 stars 7 forks source link

Use abs() not fabs() as input is integer #56

Open tobyjaffey opened 6 years ago

tobyjaffey commented 6 years ago

Resolves compile failure on MacOS (Darwin 15.6.0) (Apple LLVM version 8.0.0 (clang-800.0.42.1))

src/mt_note.c:85:16: error: using floating point absolute value function 'fabs' when argument is of integer type [-Werror,-Wabsolute-value]