aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-05-23 03:02:17 +0000
committerKarl Heuer1995-05-23 03:02:17 +0000
commit137edb72be3ab4e4892717626d199c0902fc91fe (patch)
tree6e3decc2fb6036712108955ceeda1d376f53dc2c
parent665211a38bd089895230b3ed313a515fff4d3ee3 (diff)
downloademacs-137edb72be3ab4e4892717626d199c0902fc91fe.tar.gz
emacs-137edb72be3ab4e4892717626d199c0902fc91fe.zip
(x_get_window_property): Cast args of XGetWindowProperty.
-rw-r--r--src/xselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xselect.c b/src/xselect.c
index ee815a8878c..28b0b8f3e91 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -1170,7 +1170,7 @@ x_get_window_property (display, window, property, data_ret, bytes_ret,
1170 BLOCK_INPUT; 1170 BLOCK_INPUT;
1171 /* First probe the thing to find out how big it is. */ 1171 /* First probe the thing to find out how big it is. */
1172 result = XGetWindowProperty (display, window, property, 1172 result = XGetWindowProperty (display, window, property,
1173 0, 0, False, AnyPropertyType, 1173 0L, 0L, False, AnyPropertyType,
1174 actual_type_ret, actual_format_ret, 1174 actual_type_ret, actual_format_ret,
1175 actual_size_ret, 1175 actual_size_ret,
1176 &bytes_remaining, &tmp_data); 1176 &bytes_remaining, &tmp_data);
@@ -1200,7 +1200,7 @@ x_get_window_property (display, window, property, data_ret, bytes_ret,
1200#endif 1200#endif
1201 result 1201 result
1202 = XGetWindowProperty (display, window, property, 1202 = XGetWindowProperty (display, window, property,
1203 offset/4, buffer_size/4, 1203 (long)offset/4, (long)buffer_size/4,
1204 False, 1204 False,
1205 AnyPropertyType, 1205 AnyPropertyType,
1206 actual_type_ret, actual_format_ret, 1206 actual_type_ret, actual_format_ret,