From: shikokuchuo Date: Wed, 15 Feb 2023 17:08:25 +0000 (+0000) Subject: whisper : fix signedness compiler warning (#506) X-Git-Tag: upstream/1.7.4~1571 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0336161b7ddf93aa117f61a1a6bb055f51c4de3a;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp whisper : fix signedness compiler warning (#506) --- diff --git a/whisper.cpp b/whisper.cpp index 24e16bd5..331d4084 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];