From b8112b14aa5d7a077e94abcc253f0e00b3969fb2 Mon Sep 17 00:00:00 2001
From: Rene Brun <Rene.Brun@cern.ch>
Date: Thu, 8 Feb 2007 10:25:00 +0000
Subject: [PATCH] From Axel: workaround a silly MSVC bug.

git-svn-id: http://root.cern.ch/svn/root/trunk@17780 27541ba8-7e3a-0410-8455-c3a389f83636
---
 html/src/TDocDirective.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/src/TDocDirective.cxx b/html/src/TDocDirective.cxx
index 6cc57515230..34c057b4321 100644
--- a/html/src/TDocDirective.cxx
+++ b/html/src/TDocDirective.cxx
@@ -538,7 +538,7 @@ void TDocLatexDirective::CreateLatex(const char* filename)
          if (!str) continue;
          char align = 'l';
          if ((UInt_t)fAlignment.Length() > iCol)
-            align = fAlignment[iCol];
+            align = fAlignment[(Int_t)iCol];
          Float_t x = posX[iCol];
          switch (align) {
             case 'l': break;
-- 
GitLab