Commit 18a8c786 authored by Sebastien Barre's avatar Sebastien Barre

try to fix warnings

parent edf45765
......@@ -424,7 +424,7 @@ extern "C"
extern "C" {VTK_TK_EXPORT int Vtktkimageviewerwidget_Init(Tcl_Interp *interp);}
int Vtktkimageviewerwidget_Init(Tcl_Interp *interp)
{
if(Tcl_PkgPresent(interp, "Tk", TK_VERSION, 0))
if(Tcl_PkgPresent(interp, (char *)"Tk", (char *)TK_VERSION, 0))
{
Tcl_CreateCommand(interp, (char *) "vtkTkImageViewerWidget",
vtkTkImageViewerWidget_Cmd,
......
......@@ -690,7 +690,7 @@ extern "C" {int VTK_TK_EXPORT Vtktkrenderwidget_Init(Tcl_Interp *interp);}
int VTK_TK_EXPORT Vtktkrenderwidget_Init(Tcl_Interp *interp)
{
if(Tcl_PkgPresent(interp, "Tk", TK_VERSION, 0))
if(Tcl_PkgPresent(interp, (char *)"Tk", (char *)TK_VERSION, 0))
{
Tcl_CreateCommand(interp, (char *) "vtkTkRenderWidget", vtkTkRenderWidget_Cmd,
Tk_MainWindow(interp), NULL);
......
......@@ -64,7 +64,7 @@ extern "C"
int Vtkrenderingpythontkwidgets_Init(Tcl_Interp *interp)
{
if(Tcl_PkgPresent(interp, "Tk", TK_VERSION, 0))
if(Tcl_PkgPresent(interp, (char *)"Tk", (char *)TK_VERSION, 0))
{
Tcl_CreateCommand(interp, (char *) "vtkTkRenderWidget", vtkTkRenderWidget_Cmd,
Tk_MainWindow(interp), NULL);
......
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