VirtualBox

Changeset 20024 in vbox for trunk/src


Ignore:
Timestamp:
May 26, 2009 11:04:52 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47750
Message:

VMMDev: replace a weird constant with NULL for zero size HGCM buffers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp

    r19300 r20024  
    617617                         if (size == 0)
    618618                         {
    619                              pHostParm->u.pointer.addr = (void *) 0xfeeddead;
     619                             pHostParm->u.pointer.addr = NULL;
    620620                         }
    621621                         else
     
    719719                         if (size == 0)
    720720                         {
    721                              pHostParm->u.pointer.addr = (void *) 0xfeeddead;
     721                             pHostParm->u.pointer.addr = NULL;
    722722                         }
    723723                         else
Note: See TracChangeset for help on using the changeset viewer.

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