From: cascade Date: Fri, 8 Aug 2008 19:44:22 +0000 (+0000) Subject: OCC20178 Conversion problems during VS2005 compilation X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=d285fdd2dfe2e93ca08c0e47f3599605e3f95a97;p=occt-wok.git OCC20178 Conversion problems during VS2005 compilation --- diff --git a/src/MS/MS_Method.cxx b/src/MS/MS_Method.cxx index 922f999..eb077fc 100755 --- a/src/MS/MS_Method.cxx +++ b/src/MS/MS_Method.cxx @@ -330,7 +330,7 @@ Standard_Boolean MS_Method::IsSameSignature int n1 = ( fin1 ? fin1 - aname1 : strlen(aname1) ); int n2 = ( fin2 ? fin2 - aname2 : strlen(aname2) ); - result = ( n1 == n2 && strncmp (aname1, aname2, n1) ); + result = ( n1 == n2 && ! strncmp (aname1, aname2, n1) ); // if (result) { Handle(MS_Method) m1,m2;