edisona / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
1 stars 0 forks source link

building sign.cc: cannot convert ‘unsigned int*’ to ‘size_t* #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When executing "make" on the latest version from the repository under Ubuntu 
11.10 64bit I get the following errors:

sign.cc: In member function ‘float Msign::sign_ncd(std::string, std::string, 
int)’:
sign.cc:681:25: error: cannot convert ‘unsigned int*’ to ‘size_t* {aka 
long unsigned int*}’ in assignment
sign.cc:682:24: error: cannot convert ‘unsigned int*’ to ‘size_t* {aka 
long unsigned int*}’ in assignment

Original issue reported on code.google.com by jan.stot...@googlemail.com on 7 Feb 2012 at 6:25

GoogleCodeExporter commented 9 years ago

Original comment by anthony....@gmail.com on 8 Feb 2012 at 7:36

GoogleCodeExporter commented 9 years ago
just change the following lines from:
unsigned int corig = 0;
unsigned int ccmp = 0;

to:
unsigned long corig = 0;
unsigned long ccmp = 0;

in line 658 and 659 of sign.cc

Original comment by spreitze...@googlemail.com on 8 Feb 2012 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by anthony....@gmail.com on 10 Feb 2012 at 8:47

GoogleCodeExporter commented 9 years ago

Original comment by anthony....@gmail.com on 17 Feb 2012 at 9:25