Changeset 131
- Timestamp:
- Aug 2, 2006, 9:18:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Stats.cc
r129 r131 75 75 return std::vector<u_int>(); 76 76 std::vector<u_int> vec=(map.find(user))->second; 77 78 if (vec.size() < revision_+1) 77 78 // static_cast to remove annoying compiler warning 79 if (vec.size() < static_cast<size_t>(revision_+1)) 79 80 vec.insert(vec.end(), revision_+1-vec.size(), 0); 80 81
Note: See TracChangeset
for help on using the changeset viewer.