explicit cast to avoid compiler warning
This commit is contained in:
@ -70,7 +70,7 @@ printDouble(const StreamFormat& format, StreamBuffer& output, double value)
|
|||||||
nbOfBytes = 4;
|
nbOfBytes = 4;
|
||||||
|
|
||||||
if (nbOfBytes == 4)
|
if (nbOfBytes == 4)
|
||||||
buffer.fval = value;
|
buffer.fval = (float)value;
|
||||||
else
|
else
|
||||||
buffer.dval = value;
|
buffer.dval = value;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user