summaryrefslogtreecommitdiff
path: root/src/Command.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-03-19 13:54:09 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-03-19 13:54:09 +0000
commit9233a6258f8732aacc903e6cf3eb1d5598a35058 (patch)
tree36f4fba944ce1a7e7e47a1e18248065d4153179b /src/Command.cc
parente3ed6adf91180f11edd407432bda16aa5f474dde (diff)
2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Typedefed cuid_t as int32_t in Command.h * src/CUIDCounter.h * src/Command.cc * src/Command.h * src/DownloadEngine.cc * src/DownloadEngine.h * src/PeerStat.h * src/SegmentMan.cc * src/SegmentMan.h
Diffstat (limited to 'src/Command.cc')
-rw-r--r--src/Command.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Command.cc b/src/Command.cc
index acc46638..fd4821b2 100644
--- a/src/Command.cc
+++ b/src/Command.cc
@@ -40,14 +40,14 @@ namespace aria2 {
int32_t Command::uuidGen = 0;
-Command::Command(int32_t cuid):uuid(uuidGen++),
- status(STATUS_INACTIVE),
- cuid(cuid),
- logger(LogFactory::getInstance()),
- _readEvent(false),
- _writeEvent(false),
- _errorEvent(false),
- _hupEvent(false) {}
+Command::Command(cuid_t cuid):uuid(uuidGen++),
+ status(STATUS_INACTIVE),
+ cuid(cuid),
+ logger(LogFactory::getInstance()),
+ _readEvent(false),
+ _writeEvent(false),
+ _errorEvent(false),
+ _hupEvent(false) {}
void Command::transitStatus()
{