Quiet GCC strict aliasing warnings.

This commit is contained in:
Kris Maglione 2007-06-17 20:16:30 -04:00
parent 79b5dac754
commit cbf89cfd93
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;