mirror of https://github.com/google/gemma.cpp.git
Warning fix (size_t vs u64 in format string)
PiperOrigin-RevId: 889180151
This commit is contained in:
parent
f56d18dd68
commit
c0064bdd6b
|
|
@ -508,7 +508,8 @@ void BlobWriter::Add(const std::string& key, const void* data, size_t bytes) {
|
||||||
void BlobWriter::Finalize() {
|
void BlobWriter::Finalize() {
|
||||||
if (!file_->IsAppendOnly() && curr_offset_ != file_->FileSize()) {
|
if (!file_->IsAppendOnly() && curr_offset_ != file_->FileSize()) {
|
||||||
HWY_WARN("Computed offset %zu does not match file size %zu.",
|
HWY_WARN("Computed offset %zu does not match file size %zu.",
|
||||||
curr_offset_, file_->FileSize());
|
static_cast<size_t>(curr_offset_),
|
||||||
|
static_cast<size_t>(file_->FileSize()));
|
||||||
}
|
}
|
||||||
const BlobStore bs = BlobStore(keys_, blob_sizes_);
|
const BlobStore bs = BlobStore(keys_, blob_sizes_);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue