VirtualBox

Changeset 42064 in vbox for trunk


Ignore:
Timestamp:
Jul 9, 2012 3:31:05 PM (13 years ago)
Author:
vboxsync
Message:

build fix

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmnetshaper.h

    r42062 r42064  
    7171 * @param   cbTransfer      Number of bytes to allocate.
    7272 */
    73 VMMR0DECL(bool) PDMR0NsAllocateBandwidth(PPDMNSFILTER pFilter, uint32_t cbTransfer);
     73VMMR0DECL(bool) PDMR0NsAllocateBandwidth(PPDMNSFILTER pFilter, size_t cbTransfer);
    7474
    7575/**
     
    8080 * @param   cbTransfer      Number of bytes to allocate.
    8181 */
    82 VMMR3DECL(bool) PDMR3NsAllocateBandwidth(PPDMNSFILTER pFilter, uint32_t cbTransfer);
     82VMMR3DECL(bool) PDMR3NsAllocateBandwidth(PPDMNSFILTER pFilter, size_t cbTransfer);
    8383
    8484/**
  • trunk/include/VBox/vmm/pdmnetshaperint.h

    r42062 r42064  
    4646typedef PDMNSBWGROUP *PPDMNSBWGROUP;
    4747
    48 DECLINLINE(bool) pdmNsAllocateBandwidth(PPDMNSFILTER pFilter, uint32_t cbTransfer)
     48DECLINLINE(bool) pdmNsAllocateBandwidth(PPDMNSFILTER pFilter, size_t cbTransfer)
    4949{
    5050    AssertPtrReturn(pFilter, true);
  • trunk/src/VBox/VMM/VMMR0/PDMNetShaperR0.cpp

    r42062 r42064  
    3838 * @param   cbTransfer      Number of bytes to allocate.
    3939 */
    40 VMMR0DECL(bool) PDMR0NsAllocateBandwidth(PPDMNSFILTER pFilter, uint32_t cbTransfer)
     40VMMR0DECL(bool) PDMR0NsAllocateBandwidth(PPDMNSFILTER pFilter, size_t cbTransfer)
    4141{
    4242    return pdmNsAllocateBandwidth(pFilter, cbTransfer);
  • trunk/src/VBox/VMM/VMMR3/PDMNetShaper.cpp

    r42062 r42064  
    337337}
    338338
    339 VMMR3DECL(bool) PDMR3NsAllocateBandwidth(PPDMNSFILTER pFilter, uint32_t cbTransfer)
     339VMMR3DECL(bool) PDMR3NsAllocateBandwidth(PPDMNSFILTER pFilter, size_t cbTransfer)
    340340{
    341341    return pdmNsAllocateBandwidth(pFilter, cbTransfer);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette