LostRuins / koboldcpp

A simple one-file way to run various GGML and GGUF models with KoboldAI's UI
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.35k stars 312 forks source link

whisper: fix printf format string #894

Closed llfw closed 4 weeks ago

llfw commented 4 weeks ago

This format string uses %d to print uint32_t and size_t{ype,}, which is not guaranteed to work. Instead, use PRIu32 for uint32_t, and %zu for size_t.