rem: else if ( info[index].size != r->getLen() )
add: else if ( info[index].size != r->size() )
context: int checkDatabase(const char *path, recordInfo *info){	FUNCTIONSETUP;	PilotLocalDatabase db(QString::fromLatin1(path));	if (!db.isDBOpen())	{		kdDebug() << "No database " << path << endl;		if ( info[0].id == NO_EXIST )		{			kdDebug() << "This was expected" << endl;			return 0;		}		else		{			return 1;		}	}	if ( info[0].id == NO_EXIST )	{		kdDebug() << "Database not expected" << endl;		return 1;	}	int fail = 0;	int index = 0;	PilotRecord *r;	while( (r = db.readRecordByIndex(index) ) )	{		kdDebug() << "[" << index << "] id=" << r->id() << " size=" << r->getLen() << endl;		if ( ((recordid_t)info[index].id) != r->id() )		{			kdDebug() << "* Bad ID (expected" << r->id() << ")" << endl;			fail++;		}		else if ( info[index].size != r->getLen() )		{			kdDebug() << "* Bad size (expected " << info[index].size << ")" << endl;			fail++;		}		index++;	}	if ( info[index].id != END )	{		kdDebug() << "* End wasn't expected yet." << endl;		r++;	}	if (fail)	{		kdDebug() << "* " << fail << " failures." << endl;		return 1;	}	return 0;}