Commit 8a4a890b authored by Francois Bertel's avatar Francois Bertel
Browse files

COMP:Fixed errors on BCC. Forward declaration of classes is not enough for it...

COMP:Fixed errors on BCC. Forward declaration of classes is not enough for it to be able to resolve new-style cast.
parent e07e9940
......@@ -433,7 +433,7 @@ void return_result(FILE *fp)
break;
case 0x109:
case 0x309:
fprintf(fp," vtkTclGetObjectFromPointer(interp,static_cast<void *>(temp%i),\"%s\");\n",MAX_ARGS,currentFunction->ReturnClass);
fprintf(fp," vtkTclGetObjectFromPointer(interp,(void *)(temp%i),\"%s\");\n",MAX_ARGS,currentFunction->ReturnClass);
break;
/* handle functions returning vectors */
......
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