Lua example warning removal fixes for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a1e23610d6
commit
7a68c5c003
4 changed files with 26 additions and 7 deletions
|
|
@ -16,7 +16,7 @@ void sort_int(int* arr, int len)
|
|||
// ditto doubles
|
||||
int compare_double(const void * a, const void * b)
|
||||
{
|
||||
return ( *(double*)a - *(double*)b );
|
||||
return (int)( *(double*)a - *(double*)b );
|
||||
}
|
||||
|
||||
void sort_double(double* arr, int len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue