diff --git a/app b/app index 1cc4ec3..550d412 100755 Binary files a/app and b/app differ diff --git a/src/app/interface/interface_client.c b/src/app/interface/interface_client.c index 873b88f..ac84227 100644 --- a/src/app/interface/interface_client.c +++ b/src/app/interface/interface_client.c @@ -155,9 +155,9 @@ void affiche_recap_panier(int tPanier[], int tLogPanier, int tRef[], float tPoid reference, quantite, poidsArticle, volumeArticle, prixArticle, poidsArticle * quantite, volumeArticle * quantite, prixArticle * quantite); - poidsTotal += poidsArticle * quantite; - volumeTotal += volumeArticle * quantite; - montantTotal += prixArticle * quantite; + poidsTotal += poidsArticle * (float)quantite; + volumeTotal += volumeArticle * (float)quantite; + montantTotal += prixArticle * (float)quantite; if (poidsTotal > chargeMaximale) { float depassement = poidsTotal - chargeMaximale;