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

@@ -105,7 +105,7 @@ oid_list::oid_list(oid_list& x) :
list_ptr.loc = 0;
init_data_member(x.v_sz);
for ( int i=1; i<=v_sz; i++ )
for ( unsigned int i=1; i<=v_sz; i++ )
update_component(i, x(i));
}
@@ -240,7 +240,7 @@ debug(cerr, int(this));
debug(cerr, int(list_ptr.p));
*/
if ( !INRANGE(ind, 1, v_sz) ) {
if ( !INRANGE(ind, 1, (int) v_sz) ) {
MESSAGE(cerr, "oid_list::opeartor(): out of range");
throw(boundaryException(1, v_sz, ind));
}
@@ -330,7 +330,7 @@ oid_list::update_component(int index, const oid_t& new_oid)
{
//MESSAGE(cerr, "oid_list::update_component()");
//debug(cerr, my_oid());
if ( !INRANGE(index, 1, v_sz) ) {
if ( !INRANGE(index, 1, (int) v_sz) ) {
MESSAGE(cerr, "oid_list update(): out of range");
throw(boundaryException(1, v_sz, index));
}
@@ -379,8 +379,6 @@ io_status oid_list::asciiIn(istream& in)
if ( in.get() != '\n' )
throw(formatException("should be a \n"));
handler* hd_ptr = 0;
dlist temp_list;
dlist_void_ptr_cell* y = 0;