summaryrefslogtreecommitdiff
path: root/src/xselect.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-23 03:02:17 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-23 03:02:17 +0000
commit675878ca7b98f4684aadaa421837a84e368f5ac6 (patch)
tree95900aa21fa072f9f15338bdc093f859aacb5194 /src/xselect.c
parentbbc232453a29ef641d56cb3cf2b03eea66bf4ce5 (diff)
downloademacs-675878ca7b98f4684aadaa421837a84e368f5ac6.tar.gz
(x_get_window_property): Cast args of XGetWindowProperty.
Diffstat (limited to 'src/xselect.c')
-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,
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 @@ x_get_window_property (display, window, property, data_ret, bytes_ret,
#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,