Fix some printf specifiers...

svn path=/trunk/; revision=66747
This commit is contained in:
Hermès Bélusca-Maïto 2015-03-16 22:10:59 +00:00
parent 1cd9362c3a
commit 07d66bcb42
4 changed files with 4 additions and 4 deletions

View file

@ -478,7 +478,7 @@ RegisterTypeLibraries (HINF hinf, LPCWSTR szSection)
hret = SHGetFolderPathW(NULL, csidl, NULL, 0, szPath);
if (FAILED(hret))
{
FatalError("SHGetFolderPathW failed hret=0x%d\n", hret);
FatalError("SHGetFolderPathW failed hret=0x%lx\n", hret);
continue;
}

View file

@ -178,7 +178,7 @@ i8042MouHandle(
break;
default:
ERR_(I8042PRT, "Unexpected state 0x%u!\n", DeviceExtension->MouseState);
ERR_(I8042PRT, "Unexpected state 0x%lx!\n", DeviceExtension->MouseState);
ASSERT(FALSE);
}
}

View file

@ -258,7 +258,7 @@ MPU401DeviceControl(PDEVICE_OBJECT DeviceObject,
DPRINT("Received IOCTL_MIDI_PLAY\n");
Data = (PUCHAR) Irp->AssociatedIrp.SystemBuffer;
DPRINT("Sending %d bytes of MIDI data to 0x%d:\n", Stack->Parameters.DeviceIoControl.InputBufferLength, DeviceExtension->Port);
DPRINT("Sending %d bytes of MIDI data to 0x%x:\n", Stack->Parameters.DeviceIoControl.InputBufferLength, DeviceExtension->Port);
for (ByteCount = 0; ByteCount < Stack->Parameters.DeviceIoControl.InputBufferLength; ByteCount ++)
{

View file

@ -316,7 +316,7 @@ BlasterDeviceControl(PDEVICE_OBJECT DeviceObject,
DPRINT("Received IOCTL_MIDI_PLAY\n");
Data = (PUCHAR) Irp->AssociatedIrp.SystemBuffer;
DPRINT("Sending %d bytes of MIDI data to 0x%d:\n", Stack->Parameters.DeviceIoControl.InputBufferLength, DeviceExtension->Port);
DPRINT("Sending %d bytes of MIDI data to 0x%x:\n", Stack->Parameters.DeviceIoControl.InputBufferLength, DeviceExtension->Port);
for (ByteCount = 0; ByteCount < Stack->Parameters.DeviceIoControl.InputBufferLength; ByteCount ++)
{