Fix issue with printf formatting.

This commit is contained in:
Patrick Pelissier committed 2017-08-11 19:56:24 +02:00
1 parent 670502fc2d
commit 76b4e15bb0
1 file changed
+1 -1
+1 -1
View File
@@ -49,7 +49,7 @@ static inline bool boolean_in_str(bool *b, FILE *f)
/* Then the OUT/IN functions of float */
static inline void real_out_str(FILE *f, float r)
{
fprintf(f, "%f", r);
fprintf(f, "%f", (double) r);
}
static inline bool real_in_str(float *r, FILE *f)