Salome HOME
#18963 Minimize compiler warnings
[modules/kernel.git] / src / DSC / DSC_User / Datastream / Calcium / calciumf.c
index 543b15e2fcc888a0239ce06acbc98d89ed977305..b99182b457751a15e8424679aa0034e179b59f31 100644 (file)
@@ -91,6 +91,7 @@ void F_FUNC(cpfin,CPFIN)(long *compo,cal_int *dep,cal_int *err);
 
 void F_FUNC(cpcd,CPCD)(long *compo,STR_PSTR(nom),cal_int *info STR_PLEN(nom))
 {
+  (void)info; // unused parameter
   /* nom is OUT argument */
   cp_cd((void *)*compo,STR_PTR(nom));
   /* replace in place ??? */
@@ -278,7 +279,7 @@ void F_FUNC(cplch,CPLCH)(long *compo,cal_int *dep,float *ti,float *tf,cal_int *i
       for (index = 0; index < *n; index++)
         {
           strncpy(&tab[index * STR_LEN(tab)], tabChaine[index], strlen(tabChaine[index]));
-          if(STR_LEN(tab) > strlen(tabChaine[index]))
+          if(STR_LEN(tab) > (int)strlen(tabChaine[index]))
             memset(&tab[index * STR_LEN(tab)+strlen(tabChaine[index])],' ',STR_LEN(tab)-strlen(tabChaine[index]));
         }
     }