Changeset 3301 for code/trunk/src/core/Shell.cc
- Timestamp:
- Jul 18, 2009, 4:03:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/Shell.cc
r3300 r3301 228 228 std::string Shell::getFromHistory() const 229 229 { 230 unsigned int index = mod( ((int)this->historyOffset_) - ((int)this->historyPosition_), this->maxHistoryLength_);230 unsigned int index = mod(static_cast<int>(this->historyOffset_) - static_cast<int>(this->historyPosition_), this->maxHistoryLength_); 231 231 if (index < this->commandHistory_.size() && this->historyPosition_ != 0) 232 232 return this->commandHistory_[index]; … … 249 249 { 250 250 if (this->bAddOutputLevel_) 251 output.insert(0, 1, (char)OutputHandler::getOutStream().getOutputLevel());251 output.insert(0, 1, static_cast<char>(OutputHandler::getOutStream().getOutputLevel())); 252 252 253 253 this->lines_.insert(this->lines_.begin(), output);
Note: See TracChangeset
for help on using the changeset viewer.