Global declarations.
*/
static MagickMemoryMethods
- memory_methods = { malloc, realloc, free };
+ memory_methods =
+ {
+ (AcquireMemoryHandler) malloc,
+ (ResizeMemoryHandler) realloc,
+ (DestroyMemoryHandler)free
+ };
#if defined(MAGICKCORE_EMBEDDABLE_SUPPORT)
static MemoryInfo
}
}
width=(unsigned int) window->image->columns;
- assert(width == window->image->columns);
+ assert((unsigned long) width == window->image->columns);
height=(unsigned int) window->image->rows;
- assert(height == window->image->rows);
+ assert((unsigned long) height == window->image->rows);
}
/*
Create X image.