mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 10:02:30 +00:00
fix(system/file): typo
This commit is contained in:
parent
def2fe1bc4
commit
8928b59dbf
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ bool Copy(File::Filesystem* fs, Stacked::FileParms* parms) {
|
||||||
auto sz_source = File::GetFileInfo(st_source)->size;
|
auto sz_source = File::GetFileInfo(st_source)->size;
|
||||||
|
|
||||||
// copybuffer size upper limit is BC_FILE_SYSTEM_COPYBUFFER_SIZE
|
// copybuffer size upper limit is BC_FILE_SYSTEM_COPYBUFFER_SIZE
|
||||||
size_t sz_copybuffer = std::min(static_cast<size_t(sz_source), static_cast<size_t>(BC_FILE_SYSTEM_COPYBUFFER_SIZE));
|
size_t sz_copybuffer = std::min(static_cast<size_t>(sz_source), static_cast<size_t>(BC_FILE_SYSTEM_COPYBUFFER_SIZE));
|
||||||
auto u8_copybuffer = reinterpret_cast<uint8_t*>(Memory::Allocate(sz_copybuffer));
|
auto u8_copybuffer = reinterpret_cast<uint8_t*>(Memory::Allocate(sz_copybuffer));
|
||||||
|
|
||||||
// Loop through the source file, reading segments into copybuffer
|
// Loop through the source file, reading segments into copybuffer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue