summaryrefslogtreecommitdiff
path: root/src/AbstractBtMessage.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-03-20 14:30:36 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-03-20 14:30:36 +0000
commitbf5f559c5cfd3a7111a67b542008ca0878ac43d1 (patch)
tree603dbeab0cfc8b8d3ca34ade9c281a9649d4c7fd /src/AbstractBtMessage.h
parent10edc156eabd363e5138d5d974050ea5d7655c30 (diff)
2010-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use cuid_t type for cuid.
Diffstat (limited to 'src/AbstractBtMessage.h')
-rw-r--r--src/AbstractBtMessage.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/AbstractBtMessage.h b/src/AbstractBtMessage.h
index 4a6a296d..9713937b 100644
--- a/src/AbstractBtMessage.h
+++ b/src/AbstractBtMessage.h
@@ -36,6 +36,7 @@
#define _D_ABSTRACT_BT_MESSAGE_H_
#include "BtMessage.h"
+#include "Command.h"
namespace aria2 {
@@ -53,7 +54,7 @@ protected:
bool sendingInProgress;
bool invalidate;
bool uploading;
- int32_t cuid;
+ cuid_t cuid;
std::string _name;
@@ -103,11 +104,11 @@ public:
this->uploading = uploading;
}
- int32_t getCuid() const {
+ cuid_t getCuid() const {
return cuid;
}
- void setCuid(int32_t cuid) {
+ void setCuid(cuid_t cuid) {
this->cuid = cuid;
}