diff options
Diffstat (limited to 'src')
| -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 |