diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-21 23:18:06 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-21 23:18:06 -0700 |
commit | b79e8648b908c6600b99c20d4782e6413d6907ef (patch) | |
tree | 784f88ad15072d8ec32312c2c2df03119906ff12 /src/font.c | |
parent | 0766b489e1b34964bb43db221fe967d54ac5ec5e (diff) | |
download | emacs-b79e8648b908c6600b99c20d4782e6413d6907ef.tar.gz |
* font.c (font_score): Use EMACS_INT, not int, to store XINT value.
Diffstat (limited to 'src/font.c')
-rw-r--r-- | src/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.c b/src/font.c index dfc636e3313..14390335f3c 100644 --- a/src/font.c +++ b/src/font.c @@ -2107,8 +2107,8 @@ font_score (Lisp_Object entity, Lisp_Object *spec_prop) { /* We use the higher 6-bit for the actual size difference. The lowest bit is set if the DPI is different. */ - int diff; - int pixel_size = XINT (spec_prop[FONT_SIZE_INDEX]); + EMACS_INT diff; + EMACS_INT pixel_size = XINT (spec_prop[FONT_SIZE_INDEX]); if (CONSP (Vface_font_rescale_alist)) pixel_size *= font_rescale_ratio (entity); |