From: dirk Date: Mon, 19 Jan 2015 11:46:52 +0000 (+0000) Subject: Fixed type of parameter. X-Git-Tag: 7.0.1-0~1413 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb68e91158bc0035e3a4aeddf4b99fa09f15493d;p=imagemagick Fixed type of parameter. --- diff --git a/Magick++/lib/Image.cpp b/Magick++/lib/Image.cpp index 7aa178886..d322b2e4d 100644 --- a/Magick++/lib/Image.cpp +++ b/Magick++/lib/Image.cpp @@ -2508,7 +2508,7 @@ void Magick::Image::connectedComponents(const size_t connectivity_) ThrowImageException; } -void Magick::Image::contrast(const size_t sharpen_) +void Magick::Image::contrast(const bool sharpen_) { modifyImage(); GetPPException; diff --git a/Magick++/lib/Magick++/Image.h b/Magick++/lib/Magick++/Image.h index c2c835f68..3e5b81b0c 100644 --- a/Magick++/lib/Magick++/Image.h +++ b/Magick++/lib/Magick++/Image.h @@ -755,7 +755,7 @@ namespace Magick void connectedComponents(const size_t connectivity_); // Contrast image (enhance intensity differences in image) - void contrast(const size_t sharpen_); + void contrast(const bool sharpen_); // A simple image enhancement technique that attempts to improve the // contrast in an image by 'stretching' the range of intensity values