mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 12:17:35 +03:00
fix core dump
average": 3.677707812426755e+26,
This commit is contained in:
parent
df1c7f6e0f
commit
5b605624ca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user