Skip to content

Commit

Permalink
Refs #5092. Fix Warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Whitley committed Apr 12, 2012
1 parent 50d7959 commit 9ea7624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidQt/CustomInterfaces/src/MuonAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2408,12 +2408,12 @@ void MuonAnalysis::changeCurrentRun(std::string & workspaceGroupName)
std::string runNumber = runDetails.getProperty("run_number")->value();
QString instname = m_uiForm.instrSelector->currentText().toUpper();

int zeroPadding(8);
size_t zeroPadding(8);

if (instname == "ARGUS")
zeroPadding = 7;

for (int i=runNumber.size(); i<zeroPadding; ++i)
for (size_t i=runNumber.size(); i<zeroPadding; ++i)
{
runNumber = '0' + runNumber;
}
Expand Down

0 comments on commit 9ea7624

Please sign in to comment.