# HG changeset patch # User Richard M. Stallman # Date 826093326 0 # Node ID 95dca7f7b4b3cf07969f7f6deb10965d03f557f5 # Parent aaaef422311bb055f150f0f07fac282c1adc4ac7 (pixel_to_char_size): Cast args to int. diff -r aaaef422311b -r 95dca7f7b4b3 src/widget.c --- a/src/widget.c Wed Mar 06 06:10:02 1996 +0000 +++ b/src/widget.c Wed Mar 06 06:22:06 1996 +0000 @@ -193,8 +193,8 @@ 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