mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-29 18:18:12 -04:00
fixed compilation on OSX pb in pqistreamer
This commit is contained in:
parent
d50875b9bb
commit
ea137adc42
@ -486,7 +486,7 @@ int pqistreamer::handleoutgoing_locked()
|
||||
{
|
||||
uint32_t s = getRsItemSize(dta);
|
||||
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);
|
||||
mPkt_wpending_size += s ;
|
||||
++k ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user