about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index b1372d0..4c7a1a4 100644
--- a/main.c
+++ b/main.c
@@ -102,9 +102,10 @@ getproto(Window w)
 	int protos = 0;
 	int i;
 	long res;
-	unsigned char *protocols;
+	Atom *protocols;
 
-	res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L, &protocols);
+	res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L,
+			((unsigned char **)&protocols));
 	if(res <= 0) {
 		return protos;
 	}
46e06cc577a723dc2592275bf9b6f5'>2df9b442c ^
99bcc233c ^


2df9b442c ^
99bcc233c ^


2df9b442c ^
99bcc233c ^

2df9b442c ^
99bcc233c ^


2df9b442c ^
99bcc233c ^


2df9b442c ^
99bcc233c ^

2df9b442c ^
99bcc233c ^

5b96eaa95 ^
99bcc233c ^
2df9b442c ^
99bcc233c ^
2df9b442c ^
99bcc233c ^

2df9b442c ^
99bcc233c ^

2df9b442c ^




99bcc233c ^
2df9b442c ^
99bcc233c ^

346443d1b ^


99bcc233c ^






2df9b442c ^
99bcc233c ^

2df9b442c ^
99bcc233c ^
2df9b442c ^
99bcc233c ^

2df9b442c ^

99bcc233c ^
2df9b442c ^
99bcc233c ^
2df9b442c ^
99bcc233c ^

2df9b442c ^
99bcc233c ^
2df9b442c ^
99bcc233c ^
2df9b442c ^
99bcc233c ^

2df9b442c ^
99bcc233c ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104