Fix issue with printf formatting.
This commit is contained in:
1 parent
670502fc2d
commit
76b4e15bb0
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user