]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix Warning in NewGeom_Module.cpp
authorspo <sergey.pokhodenko@opencascade.com>
Thu, 26 Nov 2015 11:25:57 +0000 (14:25 +0300)
committerdbv <dbv@opencascade.com>
Tue, 8 Dec 2015 08:45:26 +0000 (11:45 +0300)
src/NewGeom/NewGeom_Module.cpp

index dae941444f6cfcc2cdb6605bf5ada871b75fe17a..04d3a1b6db6539655d316f2e8c64f366fef8d5a3 100644 (file)
@@ -54,9 +54,9 @@ NewGeom_EXPORT CAM_Module* createModule()
 
 NewGeom_EXPORT char* getModuleVersion()
 {
-  return "0.0";
-}
+  return (char*)"0.0";
 }
+} // extern "C"
 
 /** 
 * Class for preferences management