Increase buffer size for formatted numeric quantities, to avoid truncation.
This can happen if the user forces a particular output format that leads to many digits (6 or more) being printed. The new buffer size is probably larger than it needs to be, but better safe than sorry. Fixes Issue 142.
This commit is contained in:
parent
a3736b64e7
commit
91d5d5e717
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
UNIT_LEN = 11
|
UNIT_LEN = 32
|
||||||
};
|
};
|
||||||
|
|
||||||
double unit_atof( const char *s );
|
double unit_atof( const char *s );
|
||||||
|
Loading…
Reference in New Issue
Block a user