VirtualBox

Ignore:
Timestamp:
May 5, 2011 8:59:43 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71567
Message:

more gcc-4.6 -Werror=int-to-pointer-cast fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp

    r36912 r36969  
    316316                                  ~0, &Value, pvUser);
    317317                Log4((RT_SUCCESS(rc) ? "RTLdrPE:  %RTptr %s\n" : "RTLdrPE:  %08RX32 %s rc=%Rrc\n",
    318                       (uint32_t)Value, PE_RVA2TYPE(pvBitsR, (char*)pThunk->u1.AddressOfData + 2, const char *), rc));
     318                      (uint32_t)Value, PE_RVA2TYPE(pvBitsR, (char*)(uintptr_t)pThunk->u1.AddressOfData + 2, const char *), rc));
    319319            }
    320320            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