Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10207


Ignore:
Timestamp:
Jan 27, 2015, 11:35:50 PM (5 years ago)
Author:
bknecht
Message:

Replacing MSVC code for long integer with cross plattform compatible one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/tools/IcoSphere.cc

    r10190 r10207  
    171171    {
    172172        bool isFirstSmaller = index0 < index1;
    173         __int64 smallerIndex = isFirstSmaller ? index0 : index1;
    174         __int64 largerIndex = isFirstSmaller ? index1 : index0;
    175         __int64 key = (smallerIndex << 32) | largerIndex;
     173        int64_t smallerIndex = isFirstSmaller ? index0 : index1;
     174        int64_t largerIndex = isFirstSmaller ? index1 : index0;
     175        int64_t key = (smallerIndex << 32) | largerIndex;
    176176
    177177        if (middlePointIndexCache.find(key) != middlePointIndexCache.end())
Note: See TracChangeset for help on using the changeset viewer.