fix type specifier in format string

This commit is contained in:
slaren 2024-09-09 15:58:03 +02:00
parent 4f7b808ba7
commit fe16c7a8ad

View file

@ -245,7 +245,7 @@ static void test_sampler_queue(const size_t n_vocab, const std::string & sampler
} }
} }
printf("Sampler queue %3s OK with n_vocab=%05ld top_k=%05d top_p=%f min_p=%f\n", printf("Sampler queue %3s OK with n_vocab=%05zu top_k=%05d top_p=%f min_p=%f\n",
samplers_sequence.c_str(), n_vocab, top_k, top_p, min_p); samplers_sequence.c_str(), n_vocab, top_k, top_p, min_p);
} }