projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0d43c
)
utils.c: avoid signed/unsigned comparison
author
Paul Brossier
<piem@piem.org>
Tue, 13 Nov 2007 09:00:23 +0000
(10:00 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 13 Nov 2007 09:00:23 +0000
(10:00 +0100)
examples/utils.c
patch
|
blob
|
history
diff --git
a/examples/utils.c
b/examples/utils.c
index 3af049a98b248526dafeb622e63ed23ea1aca260..bcdf5c18fa1c491d0c7e19210d1363f8ca9ca214 100644
(file)
--- a/
examples/utils.c
+++ b/
examples/utils.c
@@
-413,7
+413,7
@@
void flush_process(aubio_process_func_t process_func, aubio_print_func_t print){
fvec_write_sample(obuf,0.,i,j);
}
}
- for (i = 0; i < frames_delay; i++) {
+ for (i = 0;
(signed)
i < frames_delay; i++) {
process_func(ibuf->data, obuf->data, overlap_size);
print();
}