diff --git a/MagickCore/vision.c b/MagickCore/vision.c
index 9c315fb..912f1a4 100644
--- a/MagickCore/vision.c
+++ b/MagickCore/vision.c
@@ -466,11 +466,11 @@
     Initialize connected components image attributes.
   */
   assert(image != (Image *) NULL);
-  assert(image->signature == MagickSignature);
+  assert(image->signature == MagickCoreSignature);
   if (image->debug != MagickFalse)
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
   assert(exception != (ExceptionInfo *) NULL);
-  assert(exception->signature == MagickSignature);
+  assert(exception->signature == MagickCoreSignature);
   component_image=CloneImage(image,image->columns,image->rows,MagickTrue,
     exception);
   if (component_image == (Image *) NULL)