Skip to content

Commit 3f020fa

Browse files
committed
whisper : minor compile warning
1 parent 1626b73 commit 3f020fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/whisper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6252,7 +6252,7 @@ int whisper_full_with_state(
62526252
// FIXME: will timestamp offsets be correct?
62536253
// [EXPERIMENTAL] Token-level timestamps with DTW
62546254
{
6255-
const auto n_segments = state->result_all.size() - n_segments_before;
6255+
const int n_segments = state->result_all.size() - n_segments_before;
62566256
if (ctx->params.dtw_token_timestamps && n_segments) {
62576257
const int n_frames = std::min(std::min(WHISPER_CHUNK_SIZE * 100, seek_delta), seek_end - seek);
62586258
whisper_exp_compute_token_level_timestamps_dtw(

0 commit comments

Comments
 (0)