Fix issue 10948.

On 64 bit machine 1 - is a 32 bit integer.
But n may be from 1 to 64.