projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
758fc98
)
hackz.
author
Carl Hetherington
<cth@carlh.net>
Thu, 6 Aug 2020 07:51:49 +0000
(09:51 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 6 Aug 2020 07:51:49 +0000
(09:51 +0200)
src/tools/dcpomatic_disk_writer.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_disk_writer.cc
b/src/tools/dcpomatic_disk_writer.cc
index 411d1ff5c6dc5d3f09d5bd6d56dc0b0440f90cff..eb4e31c447180522b0986e1977b4964814d67de3 100644
(file)
--- a/
src/tools/dcpomatic_disk_writer.cc
+++ b/
src/tools/dcpomatic_disk_writer.cc
@@
-127,7
+127,7
@@
write (boost::filesystem::path from, boost::filesystem::path to, uint64_t& total
throw CopyError (String::compose("Failed to open file %1", from.string()), 0);
}
- uint8_t* buffer =
dcpomatic_aligned_alloc (block_size, 4096
);
+ uint8_t* buffer =
reinterpret_cast<uint8_t*> (dcpomatic_aligned_alloc(block_size, 4096)
);
if (!buffer) {
throw bad_alloc();
}