]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bos #18963 [CEA 18962] Warnings in module compilations
authorvsr <vsr@opencascade.com>
Mon, 11 May 2020 08:14:28 +0000 (11:14 +0300)
committervsr <vsr@opencascade.com>
Mon, 11 May 2020 08:14:28 +0000 (11:14 +0300)
src/MEDWrapper/MED_Wrapper.cxx

index 81d3ba9ec5c3797fd8ef47cc26bb66f7bf69fb1a..79dc1996b22bc375040d5f9fa6756a1a7efa4f63 100644 (file)
@@ -2464,7 +2464,7 @@ namespace MED
 
     // write node ids
     SetCellInfo(theInfo, theMode, theErr);
-    if (theErr && theErr < 0)
+    if (theErr && *theErr < 0)
       return;
 
     // write diameter