fixed the problem that cannot insert the value larger than 0x7ffffffffffffffff.

As commented in the added sources code, integers are saved as signed.