aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-03-06 06:22:06 +0000
committerRichard M. Stallman <[email protected]>1996-03-06 06:22:06 +0000
commitf8eeed5b18c8cb80b9b77e4f5ba020672a5c054c (patch)
tree783cf987a559b7ecad8ebb3a0619dd5e9f779ec2 /src/widget.c
parented16b6f28a16cd97899b9920567eae8d35df4318 (diff)
(pixel_to_char_size): Cast args to int.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c
index de25e2da48..c2c6beaec6 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