diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-08 21:38:00 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-09 21:39:43 +0900 |
| commit | f0bcfa822e848b7bf89ec7a16407159187283a48 (patch) | |
| tree | 9e0aa8a06789925a02675dfb8173ad4931604d9b /src/FileEntry.cc | |
| parent | b97a7c8ecf410daaac12346c91591d15772f3c7f (diff) | |
Use int instead of unsigned int where unsigned int is not needed.
Diffstat (limited to 'src/FileEntry.cc')
| -rw-r--r-- | src/FileEntry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileEntry.cc b/src/FileEntry.cc index 1af951da..43a226aa 100644 --- a/src/FileEntry.cc +++ b/src/FileEntry.cc @@ -230,7 +230,7 @@ FileEntry::findFasterRequest const SharedHandle<ServerStatMan>& serverStatMan) { const int startupIdleTime = 10; - const unsigned int SPEED_THRESHOLD = 20*1024; + const int SPEED_THRESHOLD = 20*1024; if(lastFasterReplace_.difference(global::wallclock()) < startupIdleTime) { return SharedHandle<Request>(); } |
