From a1c0e0f21b0d90a52f37a0f2b91ddafca59856d7 Mon Sep 17 00:00:00 2001
From: Philippe Canal <pcanal@fnal.gov>
Date: Mon, 28 Apr 2008 19:21:46 +0000
Subject: [PATCH] Do not add LL or ULL to the string representation of a
 pointer to (unsigned) long long

git-svn-id: http://root.cern.ch/svn/root/trunk@23598 27541ba8-7e3a-0410-8455-c3a389f83636
---
 cint/cint/src/opr.cxx  | 3 +--
 cint/cint7/src/opr.cxx | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/cint/cint/src/opr.cxx b/cint/cint/src/opr.cxx
index e7623724508..584a40ea6e0 100644
--- a/cint/cint/src/opr.cxx
+++ b/cint/cint/src/opr.cxx
@@ -2448,8 +2448,7 @@ int G__overloadopr(int operatortag, G__value expressionin, G__value* defined)
                sprintf(expr, "*%s*)%ld", arg2, expressionin.ref);
             }
             strcpy(arg2, expr);
-         }
-         if (expressionin.type == 'm') {
+         } else if (expressionin.type == 'm') {
             strcat(arg2, "ULL");
          }
          else if (expressionin.type == 'n') {
diff --git a/cint/cint7/src/opr.cxx b/cint/cint7/src/opr.cxx
index b5ce2f5921c..c8c050aeabc 100644
--- a/cint/cint7/src/opr.cxx
+++ b/cint/cint7/src/opr.cxx
@@ -2465,8 +2465,7 @@ int Cint::Internal::G__overloadopr(int operatortag, G__value expressionin, G__va
                sprintf(expr, "*%s*)%ld", arg2, expressionin.ref);
             }
             strcpy(arg2, expr);
-         }
-         if (G__get_type(expressionin) == 'm') {
+         } else if (G__get_type(expressionin) == 'm') {
             strcat(arg2, "ULL");
          }
          else if (G__get_type(expressionin) == 'n') {
-- 
GitLab