0.0 float warning fix

This commit is contained in:
William S Fulton 2020-10-10 12:36:39 +01:00
commit 4b5baf0a60
4 changed files with 4 additions and 4 deletions

View file

@ -73,7 +73,7 @@
int res = SWIG_AddCast(SWIG_AsVal(float)(ov, &d));
if (SWIG_IsOK(res)) {
if (val)
*val = Constructor(d, 0.0);
*val = Constructor(d, 0.0f);
return res;
}
}