mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
append LL to integer constant to appease OS X compiler
This commit is contained in:
parent
13d11f9019
commit
87074cc505
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user