diff --git a/ChangeLog b/ChangeLog index 50b506ce..3f99f190 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,7 +5,7 @@ is not updated in this particular case and successive call of receiveMessage() overwrites payload length with bytes recieved which are payload body. - * src/PeerConnection.cc + * src/PeerConnection.{h, cc} * src/message.h 2008-01-10 Tatsuhiro Tsujikawa diff --git a/src/PeerConnection.h b/src/PeerConnection.h index 6cf5dbf2..d64b6f9e 100644 --- a/src/PeerConnection.h +++ b/src/PeerConnection.h @@ -54,7 +54,7 @@ private: char resbuf[MAX_PAYLOAD_LEN]; int32_t resbufLength; int32_t currentPayloadLength; - unsigned char lenbuf[4]; + char lenbuf[4]; int32_t lenbufLength; public: