We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
zdict.rs
1 parent fa1049e commit 3906454Copy full SHA for 3906454
lib/dictBuilder/zdict.rs
@@ -1322,7 +1322,7 @@ unsafe fn finalize_dictionary(
1322
outDictContent,
1323
dictContentSize,
1324
);
1325
- core::ptr::copy_nonoverlapping(header.as_mut_ptr(), outDictHeader, hSize);
+ core::ptr::copy_nonoverlapping(header.as_ptr(), outDictHeader, hSize);
1326
core::ptr::write_bytes(outDictPadding, 0, paddingSize);
1327
Ok(dictSize)
1328
}
0 commit comments