Mercurial > hg > release > icedtea7-forest-2.1 > jdk
changeset 4969:5e190bcba6be
8011154: java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java failed since 7u25b03 on windows
Reviewed-by: art, yan
author | anthony |
---|---|
date | Tue, 09 Apr 2013 12:08:53 +0400 |
parents | 2d3faf217561 |
children | c655aca607b1 |
files | src/windows/native/sun/windows/awt_Component.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_Component.cpp Thu Apr 18 13:18:28 2013 +0200 +++ b/src/windows/native/sun/windows/awt_Component.cpp Tue Apr 09 12:08:53 2013 +0400 @@ -6125,7 +6125,7 @@ RGNDATA *pRgnData = (RGNDATA *) SAFE_SIZE_STRUCT_ALLOC(safe_Malloc, sizeof(RGNDATAHEADER), sizeof(RECT_T), numrects); - memcpy(pRgnData + sizeof(RGNDATAHEADER), pRect, sizeof(RECT_T) * numrects); + memcpy((BYTE*)pRgnData + sizeof(RGNDATAHEADER), pRect, sizeof(RECT_T) * numrects); if (pRect != rects) { free(pRect); }