[Mplayer-cvslog] CVS: main dll_init.c,1.46,1.47

Arpi of Ize arpi at mplayerhq.hu
Thu Aug 29 00:46:17 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv25343

Modified Files:
	dll_init.c 
Log Message:
mostly compiler warning fixes, some small bugfix
patch by Dominik Mierzejewski <dominik at rangers.eu.org>


Index: dll_init.c
===================================================================
RCS file: /cvsroot/mplayer/main/dll_init.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- dll_init.c	28 Aug 2002 16:09:31 -0000	1.46
+++ dll_init.c	28 Aug 2002 22:45:44 -0000	1.47
@@ -538,7 +538,7 @@
 
   ret = ICCompressGetFormat(encoder_hic, input_bih, output_bih);
   if(ret < 0){
-    unsigned char* temp=output_bih;
+    unsigned char* temp=(unsigned char*)output_bih;
     mp_msg(MSGT_WIN32,MSGL_ERR,"ICCompressGetFormat failed: Error %d  (0x%X)\n", (int)ret, (int)ret);
     for (i=0; i < temp_len; i++) mp_msg(MSGT_WIN32, MSGL_DBG2, "%02x ", temp[i]);
     return 0;
@@ -547,7 +547,7 @@
   
   if (temp_len > sizeof(BITMAPINFOHEADER))
   {
-    unsigned char* temp=output_bih;
+    unsigned char* temp=(unsigned char*)output_bih;
     mp_msg(MSGT_WIN32, MSGL_V, "Extra info in o_bih (%d bytes)!\n",
 	temp_len-sizeof(BITMAPINFOHEADER));
     for(i=sizeof(output_bih);i<temp_len;i++) mp_msg(MSGT_WIN32, MSGL_DBG2, "%02X ",temp[i]);




More information about the MPlayer-cvslog mailing list