Fix DPRINT1 messages to display correctly memory ranges
Modified: trunk/reactos/drivers/usb/cromwell/linux/pci_hal.c

Modified: trunk/reactos/drivers/usb/cromwell/linux/pci_hal.c
--- trunk/reactos/drivers/usb/cromwell/linux/pci_hal.c	2005-05-25 22:36:35 UTC (rev 15497)
+++ trunk/reactos/drivers/usb/cromwell/linux/pci_hal.c	2005-05-26 06:30:47 UTC (rev 15498)
@@ -126,7 +126,7 @@
 */
 static int __inline__ request_mem_region(PHYSICAL_ADDRESS addr, unsigned long len, const char * d)
 {
-	DPRINT1("request_mem_region(): addr=0x%x, len=0x%x\n", addr, len);
+	DPRINT1("request_mem_region(): addr=0x%lx, len=0x%lx\n", addr.u.LowPart, len);
 	return 1;
 }
 
@@ -143,7 +143,7 @@
 static void __inline__ *ioremap_nocache(PHYSICAL_ADDRESS addr, unsigned long len)
 {
 	// MmMapIoSpace with NoCache param
-	DPRINT1("ioremap_nocache(): addr=0x%x, len=0x%x\n", addr, len);
+	DPRINT1("ioremap_nocache(): addr=0x%lx, len=0x%lx\n", addr.u.LowPart, len);
 
 	return MmMapIoSpace(addr, len, MmNonCached);
 }
@@ -157,6 +157,6 @@
 */
 static int __inline__ release_mem_region(PHYSICAL_ADDRESS addr, unsigned long len)
 {
-	DPRINT1("release_mem_region(): addr=0x%x, len=0x%x\n", addr, len);
+	DPRINT1("release_mem_region(): addr=0x%lx, len=0x%lx\n", addr.u.LowPart, len);
 	return 0;
 }