mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanup.
This commit is contained in:
@@ -144,7 +144,7 @@ uint256 Serializer::get256(int offset) const
|
||||
{
|
||||
uint256 ret;
|
||||
if ((offset + (256 / 8)) > mData.size()) return ret;
|
||||
memcpy(&ret, &(mData.front()) + offset, (256 / 8));
|
||||
memcpy(ret.begin(), &(mData.front()) + offset, (256 / 8));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user