[trak] minor, use roundf instead round to normalize the use

The change to `round` wasn't intended
This commit is contained in:
Ebrahim Byagowi 2019-08-20 14:46:48 +04:30 committed by GitHub
parent e67cb500e9
commit bbad1b8298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ struct TrackData
if (size_table[size_index].to_float () >= ptem) if (size_table[size_index].to_float () >= ptem)
break; break;
return round (interpolate_at (size_index ? size_index - 1 : 0, ptem, return roundf (interpolate_at (size_index ? size_index - 1 : 0, ptem,
*trackTableEntry, base)); *trackTableEntry, base));
} }