Commit b7d187f8 authored by Andreas Schwab's avatar Andreas Schwab

Fix type mismatch in ImageMagick loader

* image.c (imagemagick_load_image): Fix type mismatch.
(Fimagemagick_types): Likewise.
parent dbfe4532
2010-09-04 Andreas Schwab <schwab@linux-m68k.org>
* image.c (imagemagick_image_p): Replace bcopy by memcpy.
(imagemagick_load_image): Fix type mismatch.
(Fimagemagick_types): Likewise.
2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
......
......@@ -7450,8 +7450,8 @@ imagemagick_load_image (/* Pointer to emacs frame structure. */
contents/size. */
unsigned char *filename)
{
size_t width;
size_t height;
unsigned long width;
unsigned long height;
MagickBooleanType
status;
......@@ -7830,7 +7830,7 @@ DEFUN ("imagemagick-types", Fimagemagick_types, Simagemagick_types, 0, 0, 0,
(void)
{
Lisp_Object typelist = Qnil;
size_t numf;
unsigned long numf;
ExceptionInfo ex;
char** imtypes = GetMagickList ("*", &numf, &ex);
int i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment