This patch fixes compilation errors when cross-compiling libXext with MinGW-w64.
The errors occur in XAppgroup.c due to improper casting between HWND pointers and long integers of different sizes. The fix uses uintptr_t as an intermediate type for safe pointer-to-integer conversion and corrects the Data32 call to pass the address of the variable instead of casting the integer to a pointer. Build tested with MinGW-w64 on Windows. Signed-off-by: Dr. Foad S. Farimani <[email protected]>
0001-Fix-HWND-pointer-casting-errors-on-MinGW-w64.patch
Description: Binary data
