From 7c01c86939c1ac54f9cc5ef484b64a8aac4f199e Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 9 Jul 2018 19:32:35 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/1019 --- Magick++/tests/attributes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Magick++/tests/attributes.cpp b/Magick++/tests/attributes.cpp index 66aad95b2..e1a2d68db 100644 --- a/Magick++/tests/attributes.cpp +++ b/Magick++/tests/attributes.cpp @@ -154,7 +154,7 @@ int main( int /*argc*/, char ** argv) // // Test default value. - if ( image.backgroundColor() != ColorRGB("white") ) + if ( image.backgroundColor() != string(ColorRGB("white")) ) { ++failures; cout << "Line: " << __LINE__ << ", backgroundColor default (" @@ -1055,7 +1055,7 @@ int main( int /*argc*/, char ** argv) // pixelColor // // Test default - if ( image.pixelColor(40,60) != canvasColor ) + if ( image.pixelColor(40,60) != string(canvasColor) ) { ++failures; cout << "Line: " << __LINE__ << ", pixelColor default (" -- 2.50.1