changeset 11881:3c292d5eed59

(x_get_window_property): Cast args of XGetWindowProperty.
author Karl Heuer <kwzh@gnu.org>
date Tue, 23 May 1995 03:02:17 +0000
parents 9d247297e826
children 8b3575269610
files src/xselect.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xselect.c	Tue May 23 01:53:12 1995 +0000
+++ b/src/xselect.c	Tue May 23 03:02:17 1995 +0000
@@ -1170,7 +1170,7 @@
   BLOCK_INPUT;
   /* First probe the thing to find out how big it is.  */
   result = XGetWindowProperty (display, window, property,
-			       0, 0, False, AnyPropertyType,
+			       0L, 0L, False, AnyPropertyType,
 			       actual_type_ret, actual_format_ret,
 			       actual_size_ret,
 			       &bytes_remaining, &tmp_data);
@@ -1200,7 +1200,7 @@
 #endif
       result
 	= XGetWindowProperty (display, window, property,
-			      offset/4, buffer_size/4,
+			      (long)offset/4, (long)buffer_size/4,
 			      False,
 			      AnyPropertyType,
 			      actual_type_ret, actual_format_ret,