Changeset 384 for cpp/frams/util


Ignore:
Timestamp:
05/22/15 04:22:50 (9 years ago)
Author:
sz
Message:

Used intptr_t instead of the evil, platform-dependent long.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/util/extvalue.h

    r371 r384  
    108108        ExtPType type;
    109109#ifdef EXTVALUEUNION
    110         long data[(EXTVALUEUNIONSIZE + sizeof(long) - 1) / sizeof(long)];
     110        intptr_t data[(EXTVALUEUNIONSIZE + sizeof(intptr_t) - 1) / sizeof(intptr_t)];
    111111        paInt& idata() const { return (paInt&)data[0]; };
    112112        double& ddata() const { return *(double*)data; };
Note: See TracChangeset for help on using the changeset viewer.