diff options
| author | Dan Engelbrecht <[email protected]> | 2022-04-01 16:08:53 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-04-01 16:08:53 +0200 |
| commit | 345cf462e89ba37867abe4c0722ce2549dddc4ca (patch) | |
| tree | 570dc1438995d091b180c0792a20f50e639df87c /zenstore/include | |
| parent | make sure we allocate disk space when we set file size (diff) | |
| download | zen-345cf462e89ba37867abe4c0722ce2549dddc4ca.tar.xz zen-345cf462e89ba37867abe4c0722ce2549dddc4ca.zip | |
linux fixes
Diffstat (limited to 'zenstore/include')
| -rw-r--r-- | zenstore/include/zenstore/caslog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/include/zenstore/caslog.h b/zenstore/include/zenstore/caslog.h index 318fab03d..148837e35 100644 --- a/zenstore/include/zenstore/caslog.h +++ b/zenstore/include/zenstore/caslog.h @@ -83,7 +83,7 @@ public: CasLogFile::Append(&Record, sizeof Record); } - void Append(const std::span<T>& Records) { CasLogFile::Append(Records.data(), sizeof T * Records.size()); } + void Append(const std::span<T>& Records) { CasLogFile::Append(Records.data(), (sizeof T) * Records.size()); } }; } // namespace zen |