[MPlayer-cvslog] r38655 - trunk/loader/qtx/qtxsdk/components.h

cigaes subversion at mplayerhq.hu
Sat Sep 21 12:30:13 EEST 2024


Author: cigaes
Date: Sat Sep 21 12:30:13 2024
New Revision: 38655

Log:
loader/qtx/qtxsdk/components: explicit pointer casts

Recent compilers consider implicit casts an error.

Modified:
   trunk/loader/qtx/qtxsdk/components.h

Modified: trunk/loader/qtx/qtxsdk/components.h
==============================================================================
--- trunk/loader/qtx/qtxsdk/components.h	Sat Sep 21 12:30:12 2024	(r38654)
+++ trunk/loader/qtx/qtxsdk/components.h	Sat Sep 21 12:30:13 2024	(r38655)
@@ -780,7 +780,7 @@ static inline void dump_CodecDecompressP
     printf("dstrect: %d;%d - %d;%d\n",cd->dstRect.top,cd->dstRect.left,cd->dstRect.bottom,cd->dstRect.right);
     printf("wantedDestinationPixelTypes=%p\n",cd->wantedDestinationPixelTypes);
     if(cd->wantedDestinationPixelTypes){
-	unsigned int* p=cd->wantedDestinationPixelTypes;
+	unsigned int* p=(unsigned *)cd->wantedDestinationPixelTypes;
 	while(p[0]){
 	    printf("  0x%08X %p\n",p[0],&p[0]);
 	    ++p;


More information about the MPlayer-cvslog mailing list