Many warnings fixed (#510)

Thanks
This commit is contained in:
eyal0 2017-09-11 10:49:59 +03:00 committed by bubnikv
parent 836dd98113
commit d903af5373
7 changed files with 12 additions and 18 deletions

View file

@ -146,7 +146,7 @@ public:
BoundingBox bounding_box() const { return BoundingBox(Point(0,0), this->size); }
// adds region_id, too, if necessary
void add_region_volume(int region_id, int volume_id) {
void add_region_volume(unsigned int region_id, int volume_id) {
if (region_id >= region_volumes.size())
region_volumes.resize(region_id + 1);
region_volumes[region_id].push_back(volume_id);