VirtualBox

Ignore:
Timestamp:
Jun 17, 2008 1:25:49 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32120
Message:

Wrong string format specifier for 64 bits values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmFormatYasm.cpp

    r9761 r9763  
    333333#define PUT_NUM_16(num) PUT_NUM(6,  "0%04xh", (uint16_t)(num))
    334334#define PUT_NUM_32(num) PUT_NUM(10, "0%08xh", (uint32_t)(num))
    335 #define PUT_NUM_64(num) PUT_NUM(18, "0%016xh", (uint64_t)(num))
     335#define PUT_NUM_64(num) PUT_NUM(18, "0%016RX64h", (uint64_t)(num))
    336336
    337337#define PUT_NUM_SIGN(cch, fmt, num, stype, utype) \
     
    351351#define PUT_NUM_S16(num) PUT_NUM_SIGN(6,  "0%04xh", num, int16_t, uint16_t)
    352352#define PUT_NUM_S32(num) PUT_NUM_SIGN(10, "0%08xh", num, int32_t, uint32_t)
    353 #define PUT_NUM_S64(num) PUT_NUM_SIGN(18, "0%016xh", num, int64_t, uint64_t)
     353#define PUT_NUM_S64(num) PUT_NUM_SIGN(18, "0%016RX64h", num, int64_t, uint64_t)
    354354
    355355
     
    740740                        if (pParam->flags & (USE_DISPLACEMENT8 | USE_DISPLACEMENT16 | USE_DISPLACEMENT32 | USE_DISPLACEMENT64 | USE_RIPDISPLACEMENT32))
    741741                        {
    742                             Assert(!(pParam->flags & USE_DISPLACEMENT64));
    743742                            int64_t off;
    744743                            if (pParam->flags & USE_DISPLACEMENT8)
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