changeset 33013:aab47f5fdb9b

More const preservation.
author reimar
date Thu, 24 Mar 2011 20:25:45 +0000
parents 68820488a927
children 55a5a5e334dc
files libvo/fastmemcpy.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/fastmemcpy.h	Thu Mar 24 20:21:27 2011 +0000
+++ b/libvo/fastmemcpy.h	Thu Mar 24 20:25:45 2011 +0000
@@ -40,7 +40,7 @@
     if(dstStride == srcStride)
     {
         if (srcStride < 0) {
-                src = (uint8_t*)src + (height-1)*srcStride;
+                src = (const uint8_t*)src + (height-1)*srcStride;
                 dst = (uint8_t*)dst + (height-1)*dstStride;
                 srcStride = -srcStride;
         }
@@ -52,7 +52,7 @@
         for(i=0; i<height; i++)
         {
             mem2agpcpy(dst, src, bytesPerLine);
-            src = (uint8_t*)src + srcStride;
+            src = (const uint8_t*)src + srcStride;
             dst = (uint8_t*)dst + dstStride;
         }
     }