changeset 25159:fb1bd7bf749d

Avoid gcc warning: vcd_read_win32.h:61: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'DWORD'
author zuxy
date Wed, 28 Nov 2007 11:36:23 +0000
parents ad0ac6f589eb
children fa4dc90bfe06
files stream/vcd_read_win32.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/vcd_read_win32.h	Wed Nov 28 11:34:01 2007 +0000
+++ b/stream/vcd_read_win32.h	Wed Nov 28 11:36:23 2007 +0000
@@ -57,7 +57,7 @@
     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;