Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/image/GaussianFilter.h')
-rwxr-xr-xsource/blender/freestyle/intern/image/GaussianFilter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/image/GaussianFilter.h b/source/blender/freestyle/intern/image/GaussianFilter.h
index c75177541d3..c9ad04d4b80 100755
--- a/source/blender/freestyle/intern/image/GaussianFilter.h
+++ b/source/blender/freestyle/intern/image/GaussianFilter.h
@@ -116,8 +116,8 @@ float GaussianFilter::getSmoothedPixel(Map * map, int x, int y)
{
float sum = 0.f;
float L=0.f;
- unsigned w=map->width();
- unsigned h=map->height();
+ int w = (int)map->width(); //soc
+ int h = (int)map->height(); //soc
// Current pixel is x,y
// Sum surrounding pixels L value: