Skip to content

Commit 4254e9d

Browse files
committed
Fix win warning in TFile.h
Fix windows warning C4245: '=': conversion from 'int' to 'uint64_t'
1 parent 9eb7933 commit 4254e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/io/inc/TFile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class TKeyMapIterable {
123123
explicit TKeyMapIterable(TFile *file) : fFile(file) {}
124124

125125
TIterator begin() const { return TIterator(fFile, 0); }
126-
TIterator end() const { return TIterator(fFile, -1); }
126+
TIterator end() const { return TIterator(fFile, (std::uint64_t) -1); }
127127
};
128128

129129
} // namespace ROOT::Detail

0 commit comments

Comments
 (0)