Calling ffi:make-pointer with a 64 bit number causes an error on ECL on Windows
An error occurs when I call ffi:make-pointer as follows:
> (ffi:make-pointer #xFFFFFFFFFFFFFFFF :void)
Condition of type: TYPE-ERROR
18446744073709551615 is not of type (INTEGER 0 4294967295).
The cause of this error seems to be that the first argument is not a 32 bit number. Because the ecl is 64 bit version I expect that I can make this pointer and actually I can do this function call successfully on Ubuntu.
The ecl was built from source (https://gitlab.com/embeddable-common-lisp/ecl/-/tags/21.2.1) on Windows using Visual Studio.
>> (format t "~&~@{~12@A ~S~%~}"
:version (lisp-implementation-version)
:vcs-id (ext:lisp-implementation-vcs-id)
:os (software-type)
:os-version (software-version)
:machine-type (machine-type)
:features *features*)
VERSION "21.2.1"
VCS-ID "UNKNOWN"
OS "NT"
OS-VERSION "5.0"
MACHINE-TYPE "AMD64"
FEATURES (:WALKER :ECL-BYTECMP :CDR-1 :CDR-5 :WIN32 :FORMATTER :CDR-7 :WSOCK :ECL-WEAK-HASH :LITTLE-ENDIAN :LONG-LONG :UINT64-T :UINT32-T :UINT16-T :LONG-FLOAT :UNICODE ...)