From 379f09d5f5314b5f725fbcc305019b33a9cb664b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 23 Jan 2016 21:42:19 +0100 Subject: Fix signed-unsigned comparison warning. --- test/audiocachetest.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/audiocachetest.cc b/test/audiocachetest.cc index 7e8b084..193004f 100644 --- a/test/audiocachetest.cc +++ b/test/audiocachetest.cc @@ -74,7 +74,8 @@ public: cacheid_t id; for(size_t initial_samples_needed = 0; - initial_samples_needed < (framesize + 1); ++initial_samples_needed) + initial_samples_needed < (size_t)(framesize + 1); + ++initial_samples_needed) { printf("open: initial_samples_needed: %d\n", initial_samples_needed); -- cgit v1.2.3