mirror of
https://github.com/0intro/wmii
synced 2024-11-22 22:02:30 +03:00
Quiet GCC strict aliasing warnings.
This commit is contained in:
parent
79b5dac754
commit
cbf89cfd93
@ -533,7 +533,7 @@ updatemwm(Client *c) {
|
||||
int n;
|
||||
|
||||
n = getproperty(&c->w, "_MOTIF_WM_HINTS", "_MOTIF_WM_HINTS", &real,
|
||||
2L, (uchar**)&ret, 1L);
|
||||
2L, (void*)&ret, 1L);
|
||||
|
||||
if(n == 0) {
|
||||
c->borderless = 0;
|
||||
|
@ -274,7 +274,7 @@ winprotocols(Window *w) {
|
||||
Atom actual, delete;
|
||||
int i, n, protos;
|
||||
|
||||
n = getproperty(w, "WM_PROTOCOLS", "ATOM", &actual, 0L, (uchar**)&protocols, 20L);
|
||||
n = getproperty(w, "WM_PROTOCOLS", "ATOM", &actual, 0L, (void*)&protocols, 20L);
|
||||
if(n == 0)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user