Fix for mingw 64bit fix.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 24 May 2011 11:19:11 +0000 (11:19 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 24 May 2011 11:19:11 +0000 (11:19 +0000)
intern/container/CTR_TaggedIndex.h

index f48d492c28a3ecc83807cdad10419b8da48b9f8e..b5284a5da306785ff9c1f5376179edfdbcfeaf5e 100644 (file)
@@ -102,9 +102,9 @@ public:
 
 #if defined(_WIN64)
        CTR_TaggedIndex(
-               const unsigned int64_t val
+               const uint64_t val
        ) :
-               m_val ( ((unsigned int64_t)val & index_mask)
+               m_val ( ((uint64_t)val & index_mask)
                                | ( (empty_tag << tag_shift)
                                        & (~index_mask) ) ) {
        }
@@ -142,8 +142,8 @@ public:
        }
 
 #if defined(_WIN64)
-       operator unsigned int64_t () const {
-                       return (unsigned int64_t)(m_val & index_mask);
+       operator uint64_t () const {
+                       return (uint64_t)(m_val & index_mask);
                }
 #endif