Ignore:
Timestamp:
Mar 8, 2016, 3:26:44 PM (3 years ago)
Author:
hongpum
Message:

Fix a memset which has arguments in wrong order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pabloAST.h

    r4959 r4965  
    241241    , mOperands(0)
    242242    , mOperand(reinterpret_cast<PabloAST**>(mAllocator.allocate(reserved * sizeof(PabloAST *)))) {
    243         std::memset(mOperand, reserved * sizeof(PabloAST *), 0);
     243        std::memset(mOperand, 0, reserved * sizeof(PabloAST *));
    244244    }
    245245    template<typename iterator>
Note: See TracChangeset for help on using the changeset viewer.