Skip to content
Snippets Groups Projects
Commit a1b8a2ea authored by Philippe Canal's avatar Philippe Canal
Browse files

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
parent 0aac9c35
No related branches found
No related tags found
No related merge requests found
...@@ -1063,6 +1063,8 @@ const char *TCint::TypeName(const char *typeDesc) ...@@ -1063,6 +1063,8 @@ const char *TCint::TypeName(const char *typeDesc)
template_start = (char*)strchr(typeDesc, '<'); template_start = (char*)strchr(typeDesc, '<');
if (!strcmp(typeDesc, "long long")) if (!strcmp(typeDesc, "long long"))
strcpy(t, typeDesc); strcpy(t, typeDesc);
else if (!strncmp(typeDesc,"unsigned ",s+1-typeDesc))
strcpy(t, typeDesc);
// s is the position of the second 'word' (if any) // s is the position of the second 'word' (if any)
// except in the case of templates where there will be a space // except in the case of templates where there will be a space
// just before any closing '>': eg. // just before any closing '>': eg.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment