mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Fix several warnings
This commit is contained in:
parent
1b921a2eac
commit
9e0389df1b
3 changed files with 5 additions and 5 deletions
|
@ -51,8 +51,8 @@ namespace stream
|
|||
{
|
||||
// partially
|
||||
rem = len - offset;
|
||||
memcpy (buf + offset, nextBuffer->GetRemaningBuffer (), len - offset);
|
||||
nextBuffer->offset += (len - offset);
|
||||
memcpy (buf + offset, nextBuffer->GetRemaningBuffer (), rem);
|
||||
nextBuffer->offset += rem;
|
||||
offset = len; // break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue