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

@@ -67,7 +67,7 @@ Boolean void_eq(const void* o1, const void* o2)
//**************************************************************
bset::bset(cmp_func_ptr_t eq, cmp_func_ptr_t ls): v_setroot(0), set(eq, ls)
bset::bset(cmp_func_ptr_t eq, cmp_func_ptr_t ls): set(eq, ls), v_setroot(0)
{
//assert ( eq && ls );
}

View File

@@ -85,9 +85,9 @@ public:
long last(); // 0 if the list is empty
protected:
int v_ct; // cell in the list
dlist_cell *v_head; // head pointer
dlist_cell *v_tail; // tail pointer
int v_ct; // cell in the list
int remove_cells_when_done;
};

View File

@@ -84,7 +84,7 @@ int heap::count()
Boolean heap::insert(voidPtr elm)
{
if ( buf_sz() < content_sz() + 2*sizeof(voidPtr) )
if ( buf_sz() < (int)(content_sz() + 2*sizeof(voidPtr)) )
buffer::expand_chunk(2*buf_sz()) ;
long x = long(elm);

View File

@@ -93,9 +93,9 @@ public:
long last(); // 0 if the list is empty
protected:
int v_ct; // cell in the list
slist_cell *v_head; // head pointer
slist_cell *v_tail; // tail pointer
int v_ct; // cell in the list
};

View File

@@ -99,7 +99,7 @@ void token_stack::new_token()
void token_stack::add_partial_token(char* x)
{
if ( v_curr_token_buf -> remaining_sz() < strlen(x) + 1) {
if ( v_curr_token_buf -> remaining_sz() < (int)(strlen(x) + 1) ) {
int partial_str_len = curr_token_start ? strlen(curr_token_start) : 0;