Enable long ints in reshape
Merge pull request #1289 from lamblin/long_reshape

Enable long ints in reshape