]> git.eshelyaron.com Git - emacs.git/commitdiff
(pixel_to_char_size): Cast args to int.
authorRichard M. Stallman <rms@gnu.org>
Wed, 6 Mar 1996 06:22:06 +0000 (06:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 6 Mar 1996 06:22:06 +0000 (06:22 +0000)
src/widget.c

index de25e2da4850d078a33e29e4591a5eb1466728f1..c2c6beaec6b1065f3b6a127193245b23a69ebddc 100644 (file)
@@ -193,8 +193,8 @@ pixel_to_char_size (ew, pixel_width, pixel_height, char_width, char_height)
      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