Ignore:
Timestamp:
Mar 31, 2017, 3:05:41 PM (2 years ago)
Author:
nmedfort
Message:

Replaced stdin input stream with mmap'ed buffer and aligned each read call to the page size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/unicode_set.cpp

    r5278 r5386  
    513513        runs.push_back(std::make_pair(type, lo_index));
    514514        if (type == Mixed) {
    515             assert (std::distance(qi, mQuads.cend()) >= lo_index);
     515            assert (static_cast<codepoint_t>(std::distance(qi, mQuads.cend())) >= lo_index);
    516516            qi += lo_index;
    517517        }
     
    566566        } else {
    567567            if (type == Mixed) {
    568                 assert (std::distance(qi, mQuads.cend()) > hi_index);
     568                assert (static_cast<codepoint_t>(std::distance(qi, mQuads.cend())) > hi_index);
    569569                qi += hi_index;
    570570                hi_quad |= *qi++;
Note: See TracChangeset for help on using the changeset viewer.