Mercurial > emacs
changeset 41518:ee7c1fe5feaf
(merge_face_heights): Coerce back to int explicitly.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 25 Nov 2001 23:07:38 +0000 |
parents | f0a204c61f81 |
children | e89a31ff7deb |
files | src/xfaces.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Sun Nov 25 22:37:00 2001 +0000 +++ b/src/xfaces.c Sun Nov 25 23:07:38 2001 +0000 @@ -3240,7 +3240,7 @@ { if (INTEGERP (to)) /* relative X absolute => absolute */ - result = make_number (XFLOAT_DATA (from) * XINT (to)); + result = make_number ((EMACS_INT)(XFLOAT_DATA (from) * XINT (to))); else if (FLOATP (to)) /* relative X relative => relative */ result = make_float (XFLOAT_DATA (from) * XFLOAT_DATA (to));