diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-06-25 07:08:23 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-06-25 07:09:04 -0700 |
commit | 67dbc32afd8af2eaca9fdba9f17680cdcecb178f (patch) | |
tree | 6f6a13f6420f54414b9d23eee7b273e2d095d56a /src/image.c | |
parent | 659199f2ca5f283fb246faa78a244e5ca25f53dd (diff) | |
download | emacs-67dbc32afd8af2eaca9fdba9f17680cdcecb178f.tar.gz |
Fix C99 incompatibilities in Cairo code
* src/image.c (xpm_load) [USE_CAIRO]:
* src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
Fix pointer signedness problem.
Diffstat (limited to 'src/image.c')
-rw-r--r-- | src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index dfa8941ab3c..cf96cae0385 100644 --- a/src/image.c +++ b/src/image.c @@ -3690,7 +3690,7 @@ xpm_load (struct frame *f, struct image *img) int i; uint32_t *od = (uint32_t *)data; uint32_t *id = (uint32_t *)img->ximg->data; - unsigned char *mid = img->mask_img ? img->mask_img->data : 0; + char *mid = img->mask_img ? img->mask_img->data : 0; uint32_t bgcolor = get_spec_bg_or_alpha_as_argb (img, f); for (i = 0; i < height; ++i) |