[MPlayer-cvslog] r25187 - trunk/stream/vcd_read_win32.h

zuxy subversion at mplayerhq.hu
Wed Nov 28 12:36:23 CET 2007


Author: zuxy
Date: Wed Nov 28 12:36:23 2007
New Revision: 25187

Log:
Avoid gcc warning:
vcd_read_win32.h:61: warning: format '%u' expects type 'unsigned int',
but argument 4 has type 'DWORD'


Modified:
   trunk/stream/vcd_read_win32.h

Modified: trunk/stream/vcd_read_win32.h
==============================================================================
--- trunk/stream/vcd_read_win32.h	(original)
+++ trunk/stream/vcd_read_win32.h	Wed Nov 28 12:36:23 2007
@@ -57,7 +57,7 @@ mp_vcd_priv_t* vcd_read_toc(int fd)
     hd = (HANDLE)_get_osfhandle(fd);
     if (!DeviceIoControl(hd, IOCTL_CDROM_READ_TOC, NULL, 0, &vcd->toc,
 		sizeof(CDROM_TOC), &dwBytesReturned, NULL)) {
-	mp_msg(MSGT_OPEN, MSGL_ERR, "read CDROM toc header: %u\n",
+	mp_msg(MSGT_OPEN, MSGL_ERR, "read CDROM toc header: %lu\n",
 		GetLastError());
 	free(vcd);
 	return NULL;



More information about the MPlayer-cvslog mailing list