Fix two compilation errors in ROOT6 IB
Merge pull request #4586 from wmtan/FixTwoCompErrorsInROOT6IB

Fix two compilation errors in ROOT6 IB.