grOGL1.c: HashLookOnly() using X11 Window type a key on LLP64 needs cast
This commit is contained in:
parent
b5687a9a73
commit
3fd81c42b5
|
|
@ -920,7 +920,7 @@ GrOGLDelete(w)
|
||||||
HashEntry *entry;
|
HashEntry *entry;
|
||||||
|
|
||||||
xw = (Window) w->w_grdata;
|
xw = (Window) w->w_grdata;
|
||||||
entry = HashLookOnly(&grOGLWindowTable, (char *)xw);
|
entry = HashLookOnly(&grOGLWindowTable, (const char *)(intptr_t)xw);
|
||||||
HashSetValue(entry,NULL);
|
HashSetValue(entry,NULL);
|
||||||
|
|
||||||
XDestroyWindow(grXdpy, xw);
|
XDestroyWindow(grXdpy, xw);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue