From a0f28a5eb2904ad1c50b8d12ffa81f3d2d5ec862 Mon Sep 17 00:00:00 2001 From: shikokuchuo <53399081+shikokuchuo@users.noreply.github.com> Date: Wed, 15 Feb 2023 17:08:25 +0000 Subject: [PATCH] whisper : fix signedness compiler warning (#506) --- whisper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper.cpp b/whisper.cpp index 24e16bd5cf9..331d4084c6b 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -3854,7 +3854,7 @@ int whisper_full( return a.sequence.sum_logprobs_all > b.sequence.sum_logprobs_all; }); - int cur_c = 0; + unsigned int cur_c = 0; for (int j = 0; j < n_decoders_cur; ++j) { auto & decoder = ctx->decoders[j];