grOGL1.c: HashLookOnly() using X11 Window type a key on LLP64 needs cast
This commit is contained in:
parent
722209b1ae
commit
b80279c6db
|
|
@ -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