Fixed some warnings on VisualStudio2010

This commit is contained in:
Mathieu Labbé
2015-04-01 10:38:59 -04:00
parent 6089a44589
commit 37c34e8186
10 changed files with 27 additions and 23 deletions

View File

@@ -129,8 +129,8 @@ void DataRecorder::addData(const rtabmap::SensorData & data)
UTimer time;
memory_->update(data);
const Signature * s = memory_->getLastWorkingSignature();
totalSizeKB_ += s->getImageCompressed().total()/1000;
totalSizeKB_ += s->getDepthCompressed().total()/1000;
totalSizeKB_ += (int)s->getImageCompressed().total()/1000;
totalSizeKB_ += (int)s->getDepthCompressed().total()/1000;
memory_->cleanup();
if(++count_ % 30)