Commit d869eea4 authored by Francois Bertel's avatar Francois Bertel
Browse files

COMP:Fixed error on borland c++. For this compiler, a forward class...

COMP:Fixed error on borland c++. For this compiler, a forward class declaration is not enough to solve a static_cast. Revert this static_cast to a old-style cast.
parent cd60cac2
......@@ -522,7 +522,7 @@ void get_args(FILE *fp, int i)
break;
case 0x109:
case 0x309:
fprintf(fp," temp%i = static_cast<%s *>(vtkTclGetPointerFromObject(argv[%i],static_cast<char *>(\"%s\"),interp,error));\n",i,currentFunction->ArgClasses[i],start_arg,
fprintf(fp," temp%i = (%s *)(vtkTclGetPointerFromObject(argv[%i],static_cast<char *>(\"%s\"),interp,error));\n",i,currentFunction->ArgClasses[i],start_arg,
currentFunction->ArgClasses[i]);
break;
case 0x2:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment