Skip to content

Commit

Permalink
fix int comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
carltimmer committed Sep 20, 2024
1 parent 6a3c273 commit 6e0ab41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsrc++/FileEventIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ namespace evio {
std::cout << "[FILERECORDINDEX] number of records : " << (recordIndex.size() - 1) << std::endl;
std::cout << "[FILERECORDINDEX] max number of events : " << getMaxEvents() << std::endl;

for (int i = 0; i < recordIndex.size(); i++) {
for (size_t i = 0; i < recordIndex.size(); i++) {
std::cout << std::setw(6) << recordIndex[i];
if ((i+1)%15 == 0) {
std::cout << std::endl;
Expand Down

0 comments on commit 6e0ab41

Please sign in to comment.