+ fix compiler warning

This commit is contained in:
wmayer 2015-12-30 16:49:51 +01:00
parent 0135094133
commit 715ae4e225

View File

@ -80,7 +80,7 @@ ViewFeature::~ViewFeature()
App::DocumentObjectExecReturn *ViewFeature::execute(void)
{
int size = Height.getValue() * Width.getValue();
std::size_t size = Height.getValue() * Width.getValue();
if (size != Points.getValue().size())
throw Base::ValueError("(Width * Height) doesn't match with number of points");
this->Points.touch();