projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f80b40
)
fix a -Wsign-compare
author
Robin Gareus
<robin@gareus.org>
Thu, 14 Jul 2016 19:21:52 +0000
(21:21 +0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 14 Jul 2016 19:41:16 +0000
(21:41 +0200)
libs/ardour/resampled_source.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/resampled_source.cc
b/libs/ardour/resampled_source.cc
index 9a406c549f4d16d5873c4161f79fe87ed71d638a..24eb12ad23bf0b2f206348e96354f5688b4e0331 100644
(file)
--- a/
libs/ardour/resampled_source.cc
+++ b/
libs/ardour/resampled_source.cc
@@
-81,7
+81,7
@@
ResampledImportableSource::read (Sample* output, framecnt_t nframes)
_src_data.input_frames = source->read (_input, bs);
/* The last read will not be a full buffer, so set end_of_input. */
- if ((
framecnt
_t) _src_data.input_frames < bs) {
+ if ((
size
_t) _src_data.input_frames < bs) {
_end_of_input = true;
}