Fix warnings on FreeBSD
This commit is contained in:
committed by
Jon Trulson
parent
885b65a09a
commit
297b6bd845
@@ -235,7 +235,7 @@ void addToDefTokenStringBuf(const unsigned char* str, int size)
|
||||
defToken_string_buf_size = 2*(size+defToken_string_buf_content_size);
|
||||
unsigned char* x = new unsigned char[defToken_string_buf_size];
|
||||
memcpy(x, defToken_string_buf, defToken_string_buf_content_size);
|
||||
delete defToken_string_buf;
|
||||
delete [] defToken_string_buf;
|
||||
defToken_string_buf = x;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user