VirtualBox

Changeset 85085 in vbox


Ignore:
Timestamp:
Jul 7, 2020 4:54:17 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138994
Message:

IPRT/tstLdr-4: Function cast fix. bugref:9794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstLdr-4.cpp

    r82968 r85085  
    214214                break;
    215215            }
    216             DECLCALLBACKPTR(int, pfnDisasmTest1)(void) = (DECLCALLBACKPTR(int, RT_NOTHING)(void))(uintptr_t)Value; /* eeeh. */
     216            typedef DECLCALLBACKPTR(int, PFNDISASMTEST1)(void);
     217            PFNDISASMTEST1 pfnDisasmTest1 = (PFNDISASMTEST1)(uintptr_t)Value;
    217218            RTPrintf("tstLdr-4: pfnDisasmTest1=%p / add-symbol-file %s %#x\n", pfnDisasmTest1, pszFilename, aLoads[i].pvBits);
    218219            uint32_t iSeg = 0;
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