diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-12-24 15:55:59 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-12-24 15:55:59 +0000 |
| commit | a413cb50f7035fdaa1c85b6247b98946b3342ef1 (patch) | |
| tree | c8144080a3006de3bbd8ca6a43cbc9e8a49b3c23 /src/BtNotInterestedMessage.h | |
| parent | 708b9f4a3da70e963968c0a013dea6777c6b276e (diff) | |
Diffstat (limited to 'src/BtNotInterestedMessage.h')
| -rw-r--r-- | src/BtNotInterestedMessage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BtNotInterestedMessage.h b/src/BtNotInterestedMessage.h index f7cbee5a..35d6372a 100644 --- a/src/BtNotInterestedMessage.h +++ b/src/BtNotInterestedMessage.h @@ -43,7 +43,7 @@ typedef SharedHandle<BtNotInterestedMessage> BtNotInterestedMessageHandle; class BtNotInterestedMessage : public SimpleBtMessage { private: - char* msg; + unsigned char* msg; static uint32_t MESSAGE_LENGTH; public: @@ -59,11 +59,11 @@ public: static BtNotInterestedMessageHandle create(const unsigned char* data, uint32_t dataLength); - virtual int32_t getId() const { return ID; } + virtual uint8_t getId() const { return ID; } virtual void doReceivedAction(); - virtual const char* getMessage(); + virtual const unsigned char* getMessage(); virtual uint32_t getMessageLength(); |
