diff --git a/graphics/grOGL1.c b/graphics/grOGL1.c index ce3b4fac..6b3945b9 100644 --- a/graphics/grOGL1.c +++ b/graphics/grOGL1.c @@ -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);