append LL to integer constant to appease OS X compiler

This commit is contained in:
rdb 2013-09-03 09:53:19 +00:00
parent 13d11f9019
commit 87074cc505

View File

@ -380,7 +380,7 @@ read_samples(int n, PN_int16 *data) {
} case 8: {
// Downsample.
const PN_int64 scale_factor = 0x7fffffffffffffff / 0x7fff;
const PN_int64 scale_factor = 0x7fffffffffffffffLL / 0x7fffLL;
for (int i = 0; i < read_samples; ++i) {
data[i] = _reader.get_int64() / scale_factor;