projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Be more careful when mangling DCP names to fit ISDCF.
[dcpomatic.git]
/
test
/
resampler_test.cc
diff --git
a/test/resampler_test.cc
b/test/resampler_test.cc
index 1ef69b0c26bbb71f0851b15808c0ce1482ad0d9b..9247159a7065b1a46ecf06d49f74f8cfdbab6695 100644
(file)
--- a/
test/resampler_test.cc
+++ b/
test/resampler_test.cc
@@
-33,7
+33,7
@@
resampler_test_one (int from, int to)
int total_out = 0;
/* 3 hours */
- int64_t const N =
from
* 60 * 60 * 3;
+ int64_t const N =
int64_t (from)
* 60 * 60 * 3;
for (int64_t i = 0; i < N; i += 1000) {
shared_ptr<AudioBuffers> a (new AudioBuffers (1, 1000));