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/domain.cpp

    r9415 r10596  
    618618#include "crc.h" 
    619619 
    620 void TDomain::addToCRC(unsigned long &crc) const 
     620void TDomain::addToCRC(unsigned int &crc) const 
    621621{ 
    622622  const_PITERATE(TVarList, vi, variables) { 
     
    631631 
    632632int TDomain::sumValues() const 
    633 { unsigned long crc; 
     633{ unsigned int crc; 
    634634  INIT_CRC(crc); 
    635635  addToCRC(crc); 
Note: See TracChangeset for help on using the changeset viewer.