From: Vadim Zeitlin Date: Fri, 3 Nov 2006 23:34:24 +0000 (+0000) Subject: compilation fix for last fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d395dbab76284a591fc8f1df933d0b2e81da193e?ds=sidebyside compilation fix for last fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mgl/pen.cpp b/src/mgl/pen.cpp index 62db79bdf8..83ad3603da 100644 --- a/src/mgl/pen.cpp +++ b/src/mgl/pen.cpp @@ -38,8 +38,8 @@ public: // we intentionally don't compare m_hPen fields here return m_style == data.m_style && m_width == data.m_width && - memcmp(m_pixPattern, - data.m_pixPattern, sizeof(m_pixPattern)) == 0 && + memcmp(&m_pixPattern, + &data.m_pixPattern, sizeof(m_pixPattern)) == 0 && m_capStyle == data.m_capStyle && m_joinStyle == data.m_joinStyle && m_colour == data.m_colour &&