fix a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2191
This commit is contained in:
parent
2a0f3a1f3d
commit
eeeb306b7d
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: setup.cpp,v 1.27 2005-04-21 19:53:41 qbix79 Exp $ */
|
||||
/* $Id: setup.cpp,v 1.28 2005-04-22 09:09:09 qbix79 Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
#include "cross.h"
|
||||
|
@ -32,7 +32,7 @@ using namespace std;
|
|||
|
||||
void Prop_float::SetValue(char* input){
|
||||
input=trim(input);
|
||||
value._float= atof(input);
|
||||
value._float= static_cast<float>(atof(input));
|
||||
}
|
||||
|
||||
void Prop_int::SetValue(char* input){
|
||||
|
|
Loading…
Add table
Reference in a new issue