diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-03-06 06:22:06 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-03-06 06:22:06 +0000 |
commit | f8eeed5b18c8cb80b9b77e4f5ba020672a5c054c (patch) | |
tree | 783cf987a559b7ecad8ebb3a0619dd5e9f779ec2 /src/widget.c | |
parent | ed16b6f28a16cd97899b9920567eae8d35df4318 (diff) | |
download | emacs-f8eeed5b18c8cb80b9b77e4f5ba020672a5c054c.tar.gz |
(pixel_to_char_size): Cast args to int.
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c index de25e2da485..c2c6beaec6b 100644 --- a/src/widget.c +++ b/src/widget.c @@ -193,8 +193,8 @@ pixel_to_char_size (ew, pixel_width, pixel_height, char_width, char_height) int* char_height; { struct frame* f = ew->emacs_frame.frame; - *char_width = PIXEL_TO_CHAR_WIDTH (f, pixel_width); - *char_height = PIXEL_TO_CHAR_HEIGHT (f, pixel_height); + *char_width = PIXEL_TO_CHAR_WIDTH (f, (int) pixel_width); + *char_height = PIXEL_TO_CHAR_HEIGHT (f, (int) pixel_height); } static void |