Changeset 4973


Ignore:
Timestamp:
Mar 15, 2016, 11:52:00 AM (3 years ago)
Author:
lindanl
Message:

Bug fixed for large file.

Location:
icGREP/icgrep-devel/icgrep
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.h

    r4969 r4973  
    1616
    1717class GrepEngine {
    18     typedef void (*GrepFunctionType)(char * byte_data, int filesize, const char* filename, uint64_t finalLineUnterminated);
     18    typedef void (*GrepFunctionType)(char * byte_data, size_t filesize, const char* filename, uint64_t finalLineUnterminated);
    1919public:
    2020
  • icGREP/icgrep-devel/icgrep/toolchain.cpp

    r4968 r4973  
    495495
    496496extern "C" {
    497     void wrapped_report_match(uint64_t lineNum, uint64_t line_start, uint64_t line_end, const char * buffer, int filesize, char * filename) {
    498        
     497    void wrapped_report_match(uint64_t lineNum, uint64_t line_start, uint64_t line_end, const char * buffer, uint64_t filesize, char * filename) {
     498
    499499        int idx = 0;
    500500        for (int i=1; i<inputFiles.size(); i++){
Note: See TracChangeset for help on using the changeset viewer.