Is your feature request related to a problem? Please describe.
The Windows x64 static build does not define the type magick_uintptr_t properly. InitializeMagick(NULL)
crashes because of the statement
alligned_p=(void*) RoundUpToAlignment((magick_uintptr_t)alloc_p+sizeof(void *),alignment);
The the conversion to magick_uintptr_t of alloc_p removes the most significant bits.
Proposed solution
The definition of magick_uintptr_t should be fixed.
Describe alternatives you've considered
It seems enough to define WIN64 when compiling, but I do not know how to pass this when compiling via vcpkg.
Is your feature request related to a problem? Please describe.
The Windows x64 static build does not define the type magick_uintptr_t properly. InitializeMagick(NULL)
crashes because of the statement
alligned_p=(void*) RoundUpToAlignment((magick_uintptr_t)alloc_p+sizeof(void *),alignment);
The the conversion to magick_uintptr_t of alloc_p removes the most significant bits.
Proposed solution
The definition of magick_uintptr_t should be fixed.
Describe alternatives you've considered
It seems enough to define WIN64 when compiling, but I do not know how to pass this when compiling via vcpkg.