diff options
author | Torbjörn Andersson | 2004-10-19 08:47:10 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-10-19 08:47:10 +0000 |
commit | 61e438df2287d83dfe17e2497da0a41672e6df05 (patch) | |
tree | 4d8ea47afb53c9c05a6450fa437602b02f9d413f /saga/expr.cpp | |
parent | 4d3913d1b21d00692b0f761a8ade9d8b506cd7e0 (diff) | |
download | scummvm-rg350-61e438df2287d83dfe17e2497da0a41672e6df05.tar.gz scummvm-rg350-61e438df2287d83dfe17e2497da0a41672e6df05.tar.bz2 scummvm-rg350-61e438df2287d83dfe17e2497da0a41672e6df05.zip |
Made the calculation of _samples_per_tick a bit less prone to arithmetic
overflow. It failed if the output rate was 44100 Hz. (It didn't use to, but
somewhere along the line an unsigned value was changed to a signed. This
seemed like a better fix, though.)
svn-id: r15610
Diffstat (limited to 'saga/expr.cpp')
0 files changed, 0 insertions, 0 deletions