]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
whisper : fix signedness compiler warning (#506)
authorshikokuchuo <redacted>
Wed, 15 Feb 2023 17:08:25 +0000 (17:08 +0000)
committerGitHub <redacted>
Wed, 15 Feb 2023 17:08:25 +0000 (19:08 +0200)
whisper.cpp

index 24e16bd5cf90e9039ae1b054bf7eb57501a0e382..331d4084c6b7ed7a17bfb6462c2bb8fc2f735055 100644 (file)
@@ -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];