X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e001091c6f7535cc1115d12dcc28412f85e47c16..49d8a7819b3a04c5a51a4e73c3d5b41d8082972c:/src/mgl/pen.cpp 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 &&