From 0982669e6f76a563d5cce174923dfdce2f994e87 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Fri, 4 Oct 2002 17:03:25 +0000
Subject: [PATCH] cast Visual* to Visual_t.

git-svn-id: http://root.cern.ch/svn/root/trunk@5393 27541ba8-7e3a-0410-8455-c3a389f83636
---
 gl/src/TRootGLViewer.cxx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gl/src/TRootGLViewer.cxx b/gl/src/TRootGLViewer.cxx
index f56aabea72d..b6d43eddbb7 100644
--- a/gl/src/TRootGLViewer.cxx
+++ b/gl/src/TRootGLViewer.cxx
@@ -1,4 +1,4 @@
-// @(#)root/gl:$Name:  $:$Id: TRootGLViewer.cxx,v 1.5 2000/10/30 11:00:40 rdm Exp $
+// @(#)root/gl:$Name:  $:$Id: TRootGLViewer.cxx,v 1.6 2002/10/04 16:06:28 rdm Exp $
 // Author: Fons Rademakers   15/01/98
 
 /*************************************************************************
@@ -262,7 +262,8 @@ void TRootGLViewer::InitGLWindow()
    Window_t wind = fCanvasWindow->GetViewPort()->GetId();
 
 #ifndef GDK_WIN32
-   fGLWin = (Window) gVirtualX->CreateGLWindow(wind, fVisInfo->visual, fVisInfo->depth);
+   fGLWin = (Window) gVirtualX->CreateGLWindow(wind, (Visual_t)fVisInfo->visual,
+                                               fVisInfo->depth);
 #else
    fGLWin = (GdkWindow *)gVirtualX->CreateGLWindow(wind);
 #endif
-- 
GitLab