VirtualBox

Changeset 594 in vbox


Ignore:
Timestamp:
Feb 4, 2007 2:44:34 PM (18 years ago)
Author:
vboxsync
Message:

Corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r592 r594  
    17881788 *  Send packet to the network driver.
    17891789 */
    1790 DECLCALLBACK(void) pcnetSendAsyncPacket(PCNetState *pData, const void *pvBuf, unsigned cb)
    1791 {
     1790static DECLCALLBACK(void) pcnetSendAsyncPacket(PCNetState *pData, const void *pvBuf, unsigned cb)
     1791{ 
    17921792    Assert(pData && pData->pDrv && pData->pDrv->pfnSend);
    17931793
     
    18301830
    18311831            /** @note we make a copy here as we don't wish to have to enter the critical section in the async send thread during the lengthy send process. */
    1832             uint8_t *pPacket = RTMemTmpAlloc(pData->aFrames[i].cb);
     1832            void *pPacket = RTMemTmpAlloc(pData->aFrames[i].cb);
    18331833            memcpy(pPacket, pv, pData->aFrames[i].cb);
    1834             rc = RTReqCallEx(pData->pSendQueue, NULL, 0, RTREQFLAGS_NO_WAIT, pcnetSendAsyncPacket, pData, pPacket, (unsigned)pData->aFrames[i].cb);
     1834            rc = RTReqCallEx(pData->pSendQueue, NULL, 0, RTREQFLAGS_NO_WAIT | RTREQFLAGS_VOID, (PFNRT)pcnetSendAsyncPacket, pData, pPacket, (unsigned)pData->aFrames[i].cb);
    18351835            AssertRC(rc);
    18361836#else
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