]> OCCT Git - occt-wok.git/commitdiff
OCC19308 FIP #24.6 Make consistent Standard_CString and Standard_ExtString definition.
authorcascade <cascade@opencascade.com>
Thu, 8 May 2008 17:11:10 +0000 (17:11 +0000)
committercascade <cascade@opencascade.com>
Thu, 8 May 2008 17:11:10 +0000 (17:11 +0000)
src/WOKUtils/WOKUtils_Param.cxx

index cee3c13789fe3f44d3803aae014348454eb7f7a0..2709b456acd4f458189412bd2d60dd348afd9948 100755 (executable)
@@ -26,6 +26,7 @@
 #include <WOKUtils_SearchList.hxx>
 #include <WOKUtils_WOKVersion.hxx>
 #include <WOKUtils_Param.ixx>
+#include <Standard_PCharacter.hxx>
 
 #ifdef WNT
 # include <windows.h>
@@ -430,7 +431,7 @@ Handle(TCollection_HAsciiString) WOKUtils_Param::ClassFile(const Standard_CStrin
 //=======================================================================
 Handle(TCollection_HAsciiString) WOKUtils_Param::ClassSubFile(const Standard_CString aclass, const Standard_CString asub) const
 {
-  Standard_CString thedir = strchr(asub, '@');
+  Standard_PCharacter thedir = strchr(asub, '@');
 
   if(thedir)
     {