Changeset 5790


Ignore:
Timestamp:
Dec 19, 2017, 1:29:42 PM (12 months ago)
Author:
cameron
Message:

Fix for 32-bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_parser.h

    r5789 r5790  
    151151        if (!accept(s)) {
    152152            if (mCursor.noMore()) ParseFailure("Expecting " + s + " but end of input encountered");
    153             unsigned long rem = mCursor.remaining();
     153            size_t rem = mCursor.remaining();
    154154            ParseFailure("Expecting " + s + " but " + std::string(mCursor.pos(), mCursor.pos() + std::min(rem, s.length())) + " encountered");
    155155        }
Note: See TracChangeset for help on using the changeset viewer.