From a1b8a2ea14af1810ea8438fa1711f5fc9330ee7b Mon Sep 17 00:00:00 2001 From: Philippe Canal <pcanal@fnal.gov> Date: Fri, 12 Oct 2007 16:40:57 +0000 Subject: [PATCH] TCint::TypeName, avoid skipping unsigned in 'unsigned long long' git-svn-id: http://root.cern.ch/svn/root/trunk@20328 27541ba8-7e3a-0410-8455-c3a389f83636 --- meta/src/TCint.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/src/TCint.cxx b/meta/src/TCint.cxx index b152bece976..e88dbf261b6 100644 --- a/meta/src/TCint.cxx +++ b/meta/src/TCint.cxx @@ -1063,6 +1063,8 @@ const char *TCint::TypeName(const char *typeDesc) template_start = (char*)strchr(typeDesc, '<'); if (!strcmp(typeDesc, "long long")) strcpy(t, typeDesc); + else if (!strncmp(typeDesc,"unsigned ",s+1-typeDesc)) + strcpy(t, typeDesc); // s is the position of the second 'word' (if any) // except in the case of templates where there will be a space // just before any closing '>': eg. -- GitLab