diff options
| author | Andreas Schwab | 2011-06-11 12:11:07 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2011-06-11 12:11:07 +0200 |
| commit | 1ab0dee5ca2b1368770aac0f796959c95f18ed89 (patch) | |
| tree | 988c4583ff97950cc61f6b4545a276d1e93b9316 /src | |
| parent | b6e3633cafd7d7b370bca5ce2437fe5096144cb1 (diff) | |
| download | emacs-1ab0dee5ca2b1368770aac0f796959c95f18ed89.tar.gz emacs-1ab0dee5ca2b1368770aac0f796959c95f18ed89.zip | |
* src/image.c (imagemagick_load_image): Fix type mismatch.
(Fimagemagick_types): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/image.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 92130c35050..46926778345 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-06-11 Andreas Schwab <schwab@linux-m68k.org> | 1 | 2011-06-11 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 2 | ||
| 3 | * image.c (imagemagick_load_image): Fix type mismatch. | ||
| 4 | (Fimagemagick_types): Likewise. | ||
| 5 | |||
| 3 | * window.h (replace_buffer_in_windows): Declare. | 6 | * window.h (replace_buffer_in_windows): Declare. |
| 4 | 7 | ||
| 5 | 2011-06-11 Martin Rudalics <rudalics@gmx.at> | 8 | 2011-06-11 Martin Rudalics <rudalics@gmx.at> |
diff --git a/src/image.c b/src/image.c index b755d741443..b381e990dab 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -7480,8 +7480,8 @@ imagemagick_load_image (struct frame *f, struct image *img, | |||
| 7480 | unsigned char *contents, unsigned int size, | 7480 | unsigned char *contents, unsigned int size, |
| 7481 | char *filename) | 7481 | char *filename) |
| 7482 | { | 7482 | { |
| 7483 | unsigned long width; | 7483 | size_t width; |
| 7484 | unsigned long height; | 7484 | size_t height; |
| 7485 | 7485 | ||
| 7486 | MagickBooleanType status; | 7486 | MagickBooleanType status; |
| 7487 | 7487 | ||
| @@ -7858,7 +7858,7 @@ recognize as images, such as C. See `imagemagick-types-inhibit'. */) | |||
| 7858 | (void) | 7858 | (void) |
| 7859 | { | 7859 | { |
| 7860 | Lisp_Object typelist = Qnil; | 7860 | Lisp_Object typelist = Qnil; |
| 7861 | unsigned long numf = 0; | 7861 | size_t numf = 0; |
| 7862 | ExceptionInfo ex; | 7862 | ExceptionInfo ex; |
| 7863 | char **imtypes = GetMagickList ("*", &numf, &ex); | 7863 | char **imtypes = GetMagickList ("*", &numf, &ex); |
| 7864 | int i; | 7864 | int i; |