From 34e0b4b9ef2059863b310ea77c5b74218d215037 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 15 Dec 2022 20:15:36 +0200 Subject: [PATCH] stream : fix build --- examples/stream/stream.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/stream/stream.cpp b/examples/stream/stream.cpp index d2816094..1b3586df 100644 --- a/examples/stream/stream.cpp +++ b/examples/stream/stream.cpp @@ -14,6 +14,7 @@ #include #include #include +#include // 500 -> 00:05.000 // 6000 -> 01:00.000 @@ -633,7 +634,7 @@ int main(int argc, char ** argv) { const int64_t t0 = std::max(0.0, t1 - pcmf32.size()*1000.0/WHISPER_SAMPLE_RATE); printf("\n"); - printf("### Transcription %d START | t0 = %lld ms | t1 = %lld ms\n", n_iter, t0, t1); + printf("### Transcription %d START | t0 = %d ms | t1 = %d ms\n", n_iter, (int) t0, (int) t1); printf("\n"); }