GetEntryWithIndex() accepting only ints, while it should accept longs

Hi,

As in the subject:

root [5] tshower->GetEntryWithIndex(0, 3950562315)
ROOT_prompt_5:1:31: warning: implicit conversion from 'long' to 'Int_t' (aka 'int') changes value from 3950562315 to -344404981 [-Wconstant-conversion]
(int) -1

GetEntryNumberWithIndex() seems to be OK:

root [6] tshower->GetEntryNumberWithIndex(0, 3950562315)
(long long) 0

I’ve tested it on ROOT heads/master@v6-37-01-6541-g9a9e7697e4 and 6.30.06 with the same effect.

Try with master branch, commit d23b905

It works. Thanks!