mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-04 20:59:05 -04:00
fixed compilation on OSX pb in pqistreamer
This commit is contained in:
parent
d50875b9bb
commit
ea137adc42
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ int pqistreamer::handleoutgoing_locked()
|
||||||
{
|
{
|
||||||
uint32_t s = getRsItemSize(dta);
|
uint32_t s = getRsItemSize(dta);
|
||||||
mPkt_wpending = realloc(mPkt_wpending,s+mPkt_wpending_size) ;
|
mPkt_wpending = realloc(mPkt_wpending,s+mPkt_wpending_size) ;
|
||||||
memcpy(mPkt_wpending+mPkt_wpending_size,dta,s) ;
|
memcpy( &((char*)mPkt_wpending)[mPkt_wpending_size],dta,s) ;
|
||||||
free(dta);
|
free(dta);
|
||||||
mPkt_wpending_size += s ;
|
mPkt_wpending_size += s ;
|
||||||
++k ;
|
++k ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue