[ELF] Remove redundant type cast to `char*` before passing array to memcpy
No functional changes. llvm-svn: 234926
This commit is contained in:
parent
23025c812e
commit
c0c4664618
|
@ -1411,7 +1411,7 @@ public:
|
|||
uint32_t bucketChainCounts[2];
|
||||
bucketChainCounts[0] = _buckets.size();
|
||||
bucketChainCounts[1] = _chains.size();
|
||||
std::memcpy(dest, (char *)bucketChainCounts, sizeof(bucketChainCounts));
|
||||
std::memcpy(dest, bucketChainCounts, sizeof(bucketChainCounts));
|
||||
dest += sizeof(bucketChainCounts);
|
||||
// write bucket values
|
||||
for (auto bi : _buckets) {
|
||||
|
|
Loading…
Reference in New Issue