Skip to content

Commit 0336161

Browse files
authored
whisper : fix signedness compiler warning (#506)
1 parent 4597533 commit 0336161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

whisper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3854,7 +3854,7 @@ int whisper_full(
38543854
return a.sequence.sum_logprobs_all > b.sequence.sum_logprobs_all;
38553855
});
38563856

3857-
int cur_c = 0;
3857+
unsigned int cur_c = 0;
38583858

38593859
for (int j = 0; j < n_decoders_cur; ++j) {
38603860
auto & decoder = ctx->decoders[j];

0 commit comments

Comments
 (0)