Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
a 32 bit int pointer to XtVaGetValues will cause trouble). Using a long should suffice. A configure test would be better. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2767,6 +2767,7 @@ typedef void* WXFontType; /* either a XmFontList or XmRenderTable */
|
||||
typedef void* WXString;
|
||||
|
||||
typedef unsigned long Atom; /* this might fail on a few architectures */
|
||||
typedef long WXPixel; /* safety catch in src/motif/colour.cpp */
|
||||
|
||||
#endif /* Motif */
|
||||
|
||||
|
Reference in New Issue
Block a user