summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-03-06 06:22:06 +0000
committerRichard M. Stallman <rms@gnu.org>1996-03-06 06:22:06 +0000
commiteffc1767c00cde8df02abfc3da64f33150e9688e (patch)
treefce6824586cf4962ea7f39c7a2ae02a7fad06d59
parent38852b35f4d4063d2d3b808d62f45dfbb977bc4f (diff)
downloademacs-effc1767c00cde8df02abfc3da64f33150e9688e.tar.gz
(pixel_to_char_size): Cast args to int.
-rw-r--r--src/widget.c4
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