mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[9381] Fixed some compile warnings.
This commit is contained in:
parent
2bdcb1161c
commit
ccfd42bf3e
55 changed files with 219 additions and 203 deletions
|
|
@ -110,5 +110,5 @@ float Config::GetFloatDefault(const char* name, float def)
|
|||
if (!node || !node->getValue())
|
||||
return def;
|
||||
|
||||
return atof(node->getValue());
|
||||
return (float)atof(node->getValue());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue