From a60f35134848efb39d48a3e6c12a55c5b9402415 Mon Sep 17 00:00:00 2001 From: Bertrand Bellenot <bertrand.bellenot@cern.ch> Date: Mon, 8 Jun 2015 10:21:14 +0200 Subject: [PATCH] Fix Coverity CID 57926 (Improper use of negative value) --- gui/guihtml/src/TGHtmlTable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/guihtml/src/TGHtmlTable.cxx b/gui/guihtml/src/TGHtmlTable.cxx index 8f82fbda720..cfa1133e016 100755 --- a/gui/guihtml/src/TGHtmlTable.cxx +++ b/gui/guihtml/src/TGHtmlTable.cxx @@ -253,7 +253,7 @@ TGString *TGHtml::TableText(TGHtmlTable *pTable, int flag) break; case Html_Text: - substr.Append(((TGHtmlTextElement *)p)->fZText, -1); + substr.Append(((TGHtmlTextElement *)p)->fZText); break; case Html_Space: -- GitLab