Fix call to labs.
..or as clang puts it: "error: no member named 'labs' in namespace 'std'; did you mean simply 'labs'?"
This commit is contained in:
@@ -1000,7 +1000,7 @@ PTFFormat::parsemidi(void) {
|
||||
region_t r = { std::string(""), ridx, 0, 0, 0, w, m};
|
||||
if ((mregion = std::find(begin, finish, r)) != finish) {
|
||||
mtr.reg = *mregion;
|
||||
mtr.reg.startpos = std::labs(region_pos - mtr.reg.startpos);
|
||||
mtr.reg.startpos = labs(region_pos - mtr.reg.startpos);
|
||||
miditracks.push_back(mtr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user