Make numbers long when they do not fit into 'signed long'

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>