[MPlayer-cvslog] CVS: main/libvo fastmemcpy.h,1.22,1.23

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Mon Dec 5 02:30:04 CET 2005


CVS change done by Dominik Mierzejewski CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv9458/libvo

Modified Files:
	fastmemcpy.h 
Log Message:
fix
vf_remove_logo.c:738: warning: passing argument 2 of 'memcpy_pic' discards qualifiers from pointer target type


Index: fastmemcpy.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/fastmemcpy.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- fastmemcpy.h	8 Apr 2005 10:31:18 -0000	1.22
+++ fastmemcpy.h	5 Dec 2005 01:30:01 -0000	1.23
@@ -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;




More information about the MPlayer-cvslog mailing list