X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fsrc%2FbbtkWxGUIScriptingInterface.cxx;h=4425cc80e7b865e5ddb0ea000b83a67d7aa30f06;hb=f5ee1c433d1c86bc0aa11fdaba7aa891cbad9b8a;hp=9e8e57dbe5732772b25494f9ad15dfa167bccf49;hpb=cfad95b6e08e6e53846ffcda7fbc5932065f2c47;p=bbtk.git diff --git a/kernel/src/bbtkWxGUIScriptingInterface.cxx b/kernel/src/bbtkWxGUIScriptingInterface.cxx index 9e8e57d..4425cc8 100644 --- a/kernel/src/bbtkWxGUIScriptingInterface.cxx +++ b/kernel/src/bbtkWxGUIScriptingInterface.cxx @@ -871,7 +871,7 @@ std::cout << "================================================================== printf("EED WxGUIScriptingInterface::WxGUIHtmlBrowserUserOnLinkClicked cc %s \n",commandPath.c_str() ); // cleanning path - while (commandPath.rfind("\\\\")!=-1 ) + while ((int)commandPath.rfind("\\\\")!=-1 ) { commandPath.erase( commandPath.rfind("\\\\") , 1 ); printf("EED WxGUIScriptingInterface::WxGUIHtmlBrowserUserOnLinkClicked cc %s \n",commandPath.c_str() );