Changeset 63459 in vbox for trunk/src/VBox/Devices/USB/linux
- Timestamp:
- Aug 15, 2016 7:51:18 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110106
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
r63369 r63459 1504 1504 for (i = 0; i < pUrb->cIsocPkts; i++) 1505 1505 { 1506 #if RT_GNUC_PREREQ(4, 6) 1507 # pragma GCC diagnostic push 1508 # pragma GCC diagnostic ignored "-Warray-bounds" 1509 #endif 1506 1510 pUrbLnx->KUrb.iso_frame_desc[i].length = pUrb->aIsocPkts[i].cb; 1507 1511 pUrbLnx->KUrb.iso_frame_desc[i].actual_length = 0; 1508 1512 pUrbLnx->KUrb.iso_frame_desc[i].status = 0x7fff; 1513 #if RT_GNUC_PREREQ(4, 6) 1514 # pragma GCC diagnostic pop 1515 #endif 1509 1516 } 1510 1517 break; … … 1823 1830 for (i = 0, off = 0; i < pUrb->cIsocPkts; i++) 1824 1831 { 1832 #if RT_GNUC_PREREQ(4, 6) 1833 # pragma GCC diagnostic push 1834 # pragma GCC diagnostic ignored "-Warray-bounds" 1835 #endif 1825 1836 pUrb->aIsocPkts[i].enmStatus = vusbProxyLinuxStatusToVUsbStatus(pUrbLnx->KUrb.iso_frame_desc[i].status); 1826 1837 Assert(pUrb->aIsocPkts[i].off == off); 1827 1838 pUrb->aIsocPkts[i].cb = pUrbLnx->KUrb.iso_frame_desc[i].actual_length; 1828 1839 off += pUrbLnx->KUrb.iso_frame_desc[i].length; 1840 #if RT_GNUC_PREREQ(4, 6) 1841 # pragma GCC diagnostic pop 1842 #endif 1829 1843 } 1830 1844 }
Note:
See TracChangeset
for help on using the changeset viewer.