Thanks for the submission. At the end I applied a patch with explicit casting of the big int value to be safe on all architecture.
—Reply to this email directly or view it on GitHub.