From 715ae4e225b14b205e886cb8b19563152a76832b Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 30 Dec 2015 16:49:51 +0100 Subject: [PATCH] + fix compiler warning --- src/Mod/Points/App/ViewFeature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Points/App/ViewFeature.cpp b/src/Mod/Points/App/ViewFeature.cpp index b837dbe22..5f902e0d8 100644 --- a/src/Mod/Points/App/ViewFeature.cpp +++ b/src/Mod/Points/App/ViewFeature.cpp @@ -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();