various warnings fixes - mostly casting and initialization issues

This commit is contained in:
2007-03-01 21:30:48 +00:00
parent ccefcc8a79
commit 585edac6d2
13 changed files with 38 additions and 38 deletions

View File

@@ -1318,7 +1318,7 @@ static PyObject *Method_Number( PyObject * self, PyObject * args )
min = (float)PyFloat_AsDouble( mino );
max = (float)PyFloat_AsDouble( maxo );
range= fabs(max-min); /* Click step will be a 10th of the range. */
range= (float)fabs(max-min); /* Click step will be a 10th of the range. */
if (!range) range= 1.0f; /* avoid any odd errors */
/* set the precission to display*/