Changeset 1871 for trunk/lib/test


Ignore:
Timestamp:
Jan 21, 2012, 2:21:44 PM (8 years ago)
Author:
ksherdy
Message:

Added conditional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/test/byte_util_test.cpp

    r1867 r1871  
    99    uint64_t r = 0;
    1010    uint64_t max_lgth = sizeof(r);
    11     for(uint32_t lgth = 1;lgth<max_lgth;lgth++) {
     11    for(uint32_t lgth = 1;lgth<max_lgth+1;lgth++) {
    1212        for(uint32_t pos=0;pos<max_lgth-lgth+1;pos++) {
    1313             r = slice<uint64_t,8>((uint8_t *)buffer, pos, lgth);
     
    2121    }
    2222
    23 
    2423    return 1;
    2524}
Note: See TracChangeset for help on using the changeset viewer.