Changeset 76:d0ab97f0f41d in rrlib_util


Ignore:
Timestamp:
22.12.2012 18:32:30 (7 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Fixed warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_tagged_pointers.cpp

    r66 r76  
    6868}; 
    6969 
    70 std::uniform_int_distribution<int> uniform_int_distribution; 
     70std::uniform_int_distribution<uint> uniform_int_distribution; 
    7171std::mt19937 eng(1234); 
    7272 
     
    109109  { 
    110110    size_t idx = i % 10; 
    111     int random = uniform_int_distribution(eng) & tPointer::cSTAMP_MASK; 
     111    uint random = uniform_int_distribution(eng) & tPointer::cSTAMP_MASK; 
    112112    pointer.Set(allocated_values[idx].get(), random); 
    113113    assert(pointer.GetPointer() == allocated_values[idx].get() && pointer.GetStamp() == random); 
Note: See TracChangeset for help on using the changeset viewer.