changeset 17095:33d5cf9479ce

fix vf_remove_logo.c:738: warning: passing argument 2 of 'memcpy_pic' discards qualifiers from pointer target type
author rathann
date Mon, 05 Dec 2005 01:30:01 +0000
parents cb35587c8156
children c7f6ba8fb63c
files libvo/fastmemcpy.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/fastmemcpy.h	Mon Dec 05 01:28:59 2005 +0000
+++ b/libvo/fastmemcpy.h	Mon Dec 05 01:30:01 2005 +0000
@@ -20,7 +20,7 @@
 #define mem2agpcpy(a,b,c) memcpy(a,b,c)
 #endif
 
-static inline void * mem2agpcpy_pic(void * dst, void * src, int bytesPerLine, int height, int dstStride, int srcStride)
+static inline void * mem2agpcpy_pic(void * dst, const void * src, int bytesPerLine, int height, int dstStride, int srcStride)
 {
 	int i;
 	void *retval=dst;
@@ -48,7 +48,7 @@
 	return retval;
 }
 
-static inline void * memcpy_pic(void * dst, void * src, int bytesPerLine, int height, int dstStride, int srcStride)
+static inline void * memcpy_pic(void * dst, const void * src, int bytesPerLine, int height, int dstStride, int srcStride)
 {
 	int i;
 	void *retval=dst;