Ignore:
Timestamp:
03/21/12 14:25:16 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Urgent bugfix: Refactor CRC variables from unsigned long to unsigned int to make it work properly on 64-bit machines (with 64-bit Python and libraries). Fixes #1146.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/examplegen.cpp

    r6531 r10596  
    9696 
    9797int TExampleGenerator::checkSum(const bool includeMetas) 
    98 { unsigned long crc; 
     98{ unsigned int crc; 
    9999  INIT_CRC(crc); 
    100100  for(TExampleIterator ei(begin()); ei; ++ei) 
Note: See TracChangeset for help on using the changeset viewer.