dtinfo subdirectory DtMmdb

This commit is contained in:
Ulrich Wilkens
2013-08-28 19:16:37 +02:00
committed by Jon Trulson
parent 0be684281d
commit fbd81ef151
159 changed files with 735 additions and 588 deletions

View File

@@ -308,7 +308,7 @@ buffer& buffer::put(const char content, Boolean exp_buf)
{
//return put((char*)&content, sizeof(content));
if ( v_bufsz == content_sz() )
if ( (int) v_bufsz == content_sz() )
{
if ( exp_buf == true )
expand_chunk(v_bufsz + 10);
@@ -391,7 +391,7 @@ buffer& buffer::put(const float content, Boolean exp_buf)
/***********************************************************/
buffer& buffer::put(const char* content, int sz, Boolean exp_buf)
{
if ( sz > v_bufsz - content_sz() ) {
if ( sz > (int)(v_bufsz - content_sz()) ) {
if ( exp_buf == true )
expand_chunk(v_bufsz + sz);
else {