[Mplayer-cvslog] CVS: main/linux vbelib.c,1.6,1.7

Nick Kurshev nick at mplayer.dev.hu
Wed Oct 24 09:51:47 CEST 2001


Update of /cvsroot/mplayer/main/linux
In directory mplayer:/var/tmp.root/cvs-serv15655/main/linux

Modified Files:
	vbelib.c 
Log Message:
Suppressing warnings

Index: vbelib.c
===================================================================
RCS file: /cvsroot/mplayer/main/linux/vbelib.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vbelib.c	23 Oct 2001 09:31:28 -0000	1.6
+++ vbelib.c	24 Oct 2001 07:51:44 -0000	1.7
@@ -26,10 +26,10 @@
 {
   printf("vbelib:    eax=%08lXh ebx=%08lXh ecx=%08lXh edx=%08lXh\n"
 	 "vbelib:    edi=%08lXh esi=%08lXh ebp=%08lXh esp=%08lXh\n"
-	 "vbelib:    ds=%04lXh es=%04Xh ss=%04Xh cs:ip=%04X:%04X\n"
-	 "vbelib:    fs=%04lXh gs=%04Xh ss:sp=%04X:%04X flags=%04X\n"
-	 ,r->eax,r->ebx,r->ecx,r->edx
-	 ,r->edi,r->esi,r->ebp,r->reserved
+	 "vbelib:    ds=%04Xh es=%04Xh ss=%04Xh cs:ip=%04X:%04X\n"
+	 "vbelib:    fs=%04Xh gs=%04Xh ss:sp=%04X:%04X flags=%04X\n"
+	 ,(unsigned long)r->eax,(unsigned long)r->ebx,(unsigned long)r->ecx,(unsigned long)r->edx
+	 ,(unsigned long)r->edi,(unsigned long)r->esi,(unsigned long)r->ebp,(unsigned long)r->reserved
 	 ,r->ds,r->es,r->ss,r->cs,r->ip
 	 ,r->fs,r->gs,r->ss,r->sp,r->flags);
 }
@@ -45,7 +45,7 @@
   retval = LRMI_int(int_no,r);
   if(verbose > 1)
   {
-    printf("vbelib: Interrupt handler returns: %08lXh\n",retval);
+    printf("vbelib: Interrupt handler returns: %X\n",retval);
     printf("vbelib: registers after int %02X\n",int_no);
     __dump_regs(r);
   }    
@@ -277,7 +277,6 @@
 {
   struct LRMI_regs r;
   int retval;
-  void *rm_space;
   memset(&r,0,sizeof(struct LRMI_regs));
   r.eax = 0x4f04;
   r.edx = 0x02;




More information about the MPlayer-cvslog mailing list