1
0
Fork 0

fixed type errors

This commit is contained in:
Jan Steemann 2012-11-23 09:04:37 +01:00
parent d093471538
commit 10bfbb90e5
2 changed files with 3 additions and 3 deletions

View File

@ -248,7 +248,7 @@ static bool Compactifier (TRI_df_marker_t const* marker, void* data, TRI_datafil
TRI_READ_UNLOCK_DOCUMENTS_INDEXES_PRIMARY_COLLECTION(primary);
if (deleted) {
LOG_TRACE("found a stale document: %llu", d->_did);
LOG_TRACE("found a stale document: %llu", (unsigned long long) d->_did);
return true;
}
@ -277,7 +277,7 @@ static bool Compactifier (TRI_df_marker_t const* marker, void* data, TRI_datafil
dfi->_numberDead += 1;
dfi->_sizeDead += marker->_size - markerSize;
LOG_DEBUG("found a stale document after copying: %llu", d->_did);
LOG_DEBUG("found a stale document after copying: %llu", (unsigned long long) d->_did);
TRI_WRITE_UNLOCK_DATAFILES_DOC_COLLECTION(primary);
return true;

View File

@ -626,7 +626,7 @@ TRI_datafile_t* TRI_CreateDatafile (char const* filename, TRI_voc_size_t maximal
// remove empty file
TRI_UnlinkFile(filename);
LOG_ERROR("cannot memory map file '%s': '%d'", filename, res);
LOG_ERROR("cannot memory map file '%s': '%d'", filename, (int) res);
return NULL;
}