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

@@ -154,7 +154,6 @@ istream& operator >>(istream& in, mark_t& m)
{
char c ;
char* ptr = m.get();
int count = m.size();
Boolean read_marks = false;
while ( in && in.get(c) ) {

View File

@@ -169,7 +169,7 @@ cerr << "\n";
*/
if ( len < CLASS_CODE_BYTES || z == 0 )
if ( len < (int) CLASS_CODE_BYTES || z == 0 )
throw(stringException("_peek_obj(): corrupted data"));
c_code_t class_code;
@@ -265,13 +265,13 @@ template_mgr_t::init_obj(abs_storage* store, mmdb_pos_t pos, root*& x)
object_template -> set_cdr_size(cdr_io_buf.content_sz());
}
int cdr_sz = object_template -> get_cdr_size();
/////////////////
// safety check
/////////////////
#ifdef DEBUG
int cdr_sz = object_template -> get_cdr_size();
if ( obj_len != cdr_sz ) {
debug(cerr, obj_len);
debug(cerr, cdr_sz);