changeset 14767:95dca7f7b4b3

(pixel_to_char_size): Cast args to int.
author Richard M. Stallman <rms@gnu.org>
date Wed, 06 Mar 1996 06:22:06 +0000
parents aaaef422311b
children ba3525471dae
files src/widget.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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