explicit cast to avoid compiler warning

This commit is contained in:
zimoch
2011-03-10 10:12:53 +00:00
parent b64d486925
commit f521da8606

View File

@ -70,7 +70,7 @@ printDouble(const StreamFormat& format, StreamBuffer& output, double value)
nbOfBytes = 4;
if (nbOfBytes == 4)
buffer.fval = value;
buffer.fval = (float)value;
else
buffer.dval = value;