diff src/widget.c @ 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 794c6fdfa87d
children 1c8e58bf36fe
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