[prev in list] [next in list] [prev in thread] [next in thread]
List: bochs-cvs
Subject: [Bochs-cvs] [13519] trunk/bochs/iodev/usb/usb_xhci.cc
From: sshwarts--- via Bochs-cvs <bochs-cvs () lists ! sourceforge ! net>
Date: 2018-05-27 18:33:10
Message-ID: 1527445990.376688.24968 () sfp-scm-5 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]
Revision: 13519
Author: sshwarts
Date: 2018-05-27 18:33:07 +0000 (Sun, 27 May 2018)
Log Message:
-----------
fixed cygwin gcc 7.3 warning - look like real bug !
Modified Paths:
--------------
trunk/bochs/iodev/usb/usb_xhci.cc
Modified: trunk/bochs/iodev/usb/usb_xhci.cc
===================================================================
--- trunk/bochs/iodev/usb/usb_xhci.cc 2018-05-27 18:13:24 UTC (rev 13518)
+++ trunk/bochs/iodev/usb/usb_xhci.cc 2018-05-27 18:33:07 UTC (rev 13519)
@@ -692,7 +692,7 @@
// get MAX_SCRATCH_PADS worth of pointers
for (i=0; i<MAX_SCRATCH_PADS; i++) {
- DEV_MEM_READ_PHYSICAL((bx_phy_address) (addr + i * 8), 8, (Bit8u*)temp[i]);
+ DEV_MEM_READ_PHYSICAL((bx_phy_address) (addr + i * 8), 8, (Bit8u*)&temp[i]);
}
for (i=0; i<MAX_SCRATCH_PADS; i++) {
@@ -733,7 +733,7 @@
// get MAX_SCRATCH_PADS worth of pointers
for (i=0; i<MAX_SCRATCH_PADS; i++) {
- DEV_MEM_READ_PHYSICAL_DMA((bx_phy_address) (addr + i * 8), 8, (Bit8u*)temp[i]);
+ DEV_MEM_READ_PHYSICAL_DMA((bx_phy_address) (addr + i * 8), 8, (Bit8u*)&temp[i]);
}
// we read it in to a temp buffer just to check the crc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic