VirtualBox

Changeset 11437 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Aug 14, 2008 6:34:57 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34791
Message:

PCNet build fix.

File:
1 edited

Legend:

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

    r11436 r11437  
    43974397     * It consists of 14-byte header [+ 4-byte vlan tag] + 1500-byte body.
    43984398     */
    4399     register maxFrameSize = ((uint16_t*)pvBuf)[6] == 0x81 ? 1518 : 1514;
     4399    register unsigned maxFrameSize = ((uint16_t*)pvBuf)[6] == 0x81 ? 1518 : 1514;
    44004400    if (RT_UNLIKELY(cb > maxFrameSize))
    44014401    {
     
    44054405            Log(("#%d Received frame exceeds max size (%u > %u). "
    44064406                 "Further frame losses will be reported at level5\n",
    4407                  PCNET_INST_NR, (unsigned)cb, (unsigned)maxFrameSize));
     4407                 PCNET_INST_NR, (unsigned)cb, maxFrameSize));
    44084408        }
    44094409        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