projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b33e355
)
fix signed/unsigned mismatches in pitchscmitt
author
Paul Brossier
<piem@altern.org>
Sat, 3 Jun 2006 15:15:07 +0000
(15:15 +0000)
committer
Paul Brossier
<piem@altern.org>
Sat, 3 Jun 2006 15:15:07 +0000
(15:15 +0000)
fix signed/unsigned mismatches in pitchscmitt
src/pitchschmitt.c
patch
|
blob
|
history
diff --git
a/src/pitchschmitt.c
b/src/pitchschmitt.c
index 04cf0179817718e22b64b78d9bb1979d94abf39f..0e356065a6802a1c732341416a40d93511149909 100644
(file)
--- a/
src/pitchschmitt.c
+++ b/
src/pitchschmitt.c
@@
-61,7
+61,7
@@
smpl_t aubio_schmittS16LE (aubio_pitchschmitt_t *p, uint_t nframes, signed short
for (i=0; i<nframes; i++) {
*schmittPointer++ = indata[i];
- if (schmittPointer-schmittBuffer >= blockSize) {
+ if (schmittPointer-schmittBuffer >=
(sint_t)
blockSize) {
sint_t endpoint, startpoint, t1, t2, A1, A2, tc, schmittTriggered;
schmittPointer = schmittBuffer;