< prev index next >

src/java.desktop/share/native/libawt/java2d/loops/LoopMacros.h

Print this page

        

@@ -842,11 +842,11 @@
 { \
     Declare ## ANYTYPE ## StoreVars(DstWrite) \
     BlitLoopHeight(ANYTYPE, pSrc, srcBase, pSrcInfo, \
                    ANYTYPE, pDst, dstBase, pDstInfo, DstWrite, \
                    height, \
-                   memcpy(pDst, pSrc, width * ANYTYPE ## PixelStride)); \
+                   memmove(pDst, pSrc, width * ANYTYPE ## PixelStride)); \
 }
 
 /*
  * This macro defines an entire function to implement a ScaleBlit inner loop
  * for scaling pixels of a common type from one buffer to another.
< prev index next >