Skip to content

Commit

Permalink
fixed a warning about narrowing conversion from size_t to int
Browse files Browse the repository at this point in the history
  • Loading branch information
thattil committed Sep 10, 2024
1 parent 58c3f3f commit d19c050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slsDetectorGui/src/qTabMeasurement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ void qTabMeasurement::UpdateProgress() {
int qTabMeasurement::VerifyOutputDirectoryError() {
try {
auto retval = det->getFilePath();
for (size_t i = 0; i < retval.size(); i++) {
for (int i = 0; i < static_cast<int>(retval.size()); ++i) {
det->setFilePath(retval[i], {i});
}
return slsDetectorDefs::OK;
Expand Down

0 comments on commit d19c050

Please sign in to comment.