]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
minor : resolves some of warnings when compiling with clang/clang++ (#294)
authorMatheus de Sousa <redacted>
Mon, 19 Dec 2022 18:19:01 +0000 (15:19 -0300)
committerGitHub <redacted>
Mon, 19 Dec 2022 18:19:01 +0000 (20:19 +0200)
commit8e3f129b4d398284bcdc74eda87ac03d42833c52
treea6a703277fa507faa67d8de64541a82cbdd02258
parent1d716d6e34f3f4ba57bd9706a9258a0bdb008153
minor : resolves some of warnings when compiling with clang/clang++ (#294)

* Resolves some of warnings when compiling with clang/clang++

Mostly nit stuff that clang catches when compiling with -Wall -Wextra
-pedantic.

- Fix comparison between sign/unsigned integers.
- Passes a constant reference (const&) instead of copying each time.

* minor : normalize coding style

* minor : fix warning

Co-authored-by: Georgi Gerganov <redacted>
examples/main/main.cpp
whisper.cpp
whisper.h