]> granicus.if.org Git - imagemagick/commitdiff
Another build fix...
authordirk <dirk@git.imagemagick.org>
Mon, 1 Feb 2016 22:26:00 +0000 (23:26 +0100)
committerdirk <dirk@git.imagemagick.org>
Mon, 1 Feb 2016 22:26:00 +0000 (23:26 +0100)
Magick++/demo/demo.cpp

index 8a127f8f643da3e7ecddba3ed86f199eb835e82d..15c91e972d25e687aebba6020aa8c45f918733fb 100644 (file)
@@ -442,8 +442,8 @@ int main( int /*argc*/, char ** argv)
       cout << "  threshold random ..." << endl;
       example = model;
       example.label( "Random\nThreshold" );
-      example.randomThreshold( Geometry((size_t) (0.3*QuantumRange),
-        (size_t) (0.85*QuantumRange)) );
+      example.randomThreshold( (0.3*QuantumRange),
+        (0.85*QuantumRange) );
       images.push_back( example );
     
       cout << "  unsharp mask ..." << endl;