mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-31 10:16:01 +02:00
grOGL1.c: HashLookOnly() using X11 Window type a key on LLP64 needs cast
This commit is contained in:
+1
-1
@@ -920,7 +920,7 @@ GrOGLDelete(w)
|
||||
HashEntry *entry;
|
||||
|
||||
xw = (Window) w->w_grdata;
|
||||
entry = HashLookOnly(&grOGLWindowTable, (char *)xw);
|
||||
entry = HashLookOnly(&grOGLWindowTable, (const char *)(intptr_t)xw);
|
||||
HashSetValue(entry,NULL);
|
||||
|
||||
XDestroyWindow(grXdpy, xw);
|
||||
|
||||
Reference in New Issue
Block a user