whisper : fix signedness compiler warning (#506)

This commit is contained in:
shikokuchuo 2023-02-15 17:08:25 +00:00 committed by GitHub
parent 459753342d
commit 0336161b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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];