Salome HOME
Building a version which will be tagged PreV2_0_0 working with KERNEL V1_4_0.
[modules/med.git] / src / MedClient / src / UtilClient.hxx
index bbe64a6a2e1ce44f405de13b842b9d8a43959f5a..87dc7e165ded13cc69e3b120fd8ffef662b25ccb 100644 (file)
@@ -90,14 +90,14 @@ template <typename TCorba,
          typename TLocal,
          typename TCorbaSeq,
          typename TInfo>
-inline void convertCorbaArray (vector<TLocal> & T, int &nT, 
+inline void convertCorbaArray (vector<TLocal> & T, 
                               const TCorbaSeq & S,
                               void *f, TInfo M)
 {
   int i, n = S->length();
   SCRUTE(n);
 
-  nT = n;
+  int nT = n;
   T.resize(nT);
 
   typedef TLocal (*pfn) (const TCorba & , TInfo);