Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Mar 20, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant