diff options
| author | Richard M. Stallman | 1996-03-06 06:22:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-06 06:22:06 +0000 |
| commit | f8eeed5b18c8cb80b9b77e4f5ba020672a5c054c (patch) | |
| tree | 783cf987a559b7ecad8ebb3a0619dd5e9f779ec2 /src/widget.c | |
| parent | ed16b6f28a16cd97899b9920567eae8d35df4318 (diff) | |
| download | emacs-f8eeed5b18c8cb80b9b77e4f5ba020672a5c054c.tar.gz emacs-f8eeed5b18c8cb80b9b77e4f5ba020672a5c054c.zip | |
(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) | |||
| 193 | int* char_height; | 193 | int* char_height; |
| 194 | { | 194 | { |
| 195 | struct frame* f = ew->emacs_frame.frame; | 195 | struct frame* f = ew->emacs_frame.frame; |
| 196 | *char_width = PIXEL_TO_CHAR_WIDTH (f, pixel_width); | 196 | *char_width = PIXEL_TO_CHAR_WIDTH (f, (int) pixel_width); |
| 197 | *char_height = PIXEL_TO_CHAR_HEIGHT (f, pixel_height); | 197 | *char_height = PIXEL_TO_CHAR_HEIGHT (f, (int) pixel_height); |
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | static void | 200 | static void |