fix core dump

average": 3.677707812426755e+26,
This commit is contained in:
Matt 2015-10-05 18:47:11 -06:00
parent df1c7f6e0f
commit 5b605624ca

View File

@ -236,7 +236,7 @@ bool SafeBuf::pushFloat ( float i) {
// hack off trailing 0's
bool SafeBuf::printFloatPretty ( float f ) {
if ( m_length + 20 > m_capacity && ! reserve(20) )
if ( m_length + 40 > m_capacity && ! reserve(40) )
return false;
char *p = m_buf + m_length;