diff --git a/control/auxiliary.c b/control/auxiliary.c
index b2fec846167bf23757f05e6a1016fcdf9ef8eb30..a27dd9dec347b5d468e5c6cb097733c178f513cd 100644
--- a/control/auxiliary.c
+++ b/control/auxiliary.c
@@ -235,8 +235,8 @@ void update_progress(int currentValue, int maximumValue) {
             res = div(currentValue*100, maximumValue);
         }
         else {
-            /* Calcule le quotient de la division */
-            res.quot = (int)( (long long)( currentValue * 100 ) / maximumValue );
+            /* Compute the quotient */
+            res.quot = (int)( ((double)currentValue * 100.) / (double)maximumValue );
         }
     }