mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Some /W4 warning fixes
This commit is contained in:
@@ -325,7 +325,7 @@ bool Deserializer::Double(double d)
|
||||
switch (field->cpp_type())
|
||||
{
|
||||
case google::protobuf::FieldDescriptor::CPPTYPE_FLOAT:
|
||||
SET_FIELD(message, field, Float, d);
|
||||
SET_FIELD(message, field, Float, float(d));
|
||||
break;
|
||||
case google::protobuf::FieldDescriptor::CPPTYPE_DOUBLE:
|
||||
SET_FIELD(message, field, Double, d);
|
||||
|
||||
Reference in New Issue
Block a user