From 6d7138268e03463b8e3a8239e3c9cccf00f13f4e Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 8 Sep 1997 14:05:13 +0000 Subject: [PATCH] Modifiche per compilare mg4200.cpp: aggiunta qualche parentesi affinche' il metodo string() venga riferito ad un real&. git-svn-id: svn://10.65.10.50/trunk@5181 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- mg/mg4200.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mg/mg4200.cpp b/mg/mg4200.cpp index a8e89af41..cd4b6225f 100755 --- a/mg/mg4200.cpp +++ b/mg/mg4200.cpp @@ -185,7 +185,7 @@ bool TForm_inventario::valorizzazione(TForm_item &cf, TTipo_valorizz t) const TString livello(magrec.get(MAG_LIVELLO)); v=curr_art().FIFO_annuale(annoes,codmag,livello, _giaceff,_valcomp).string(); } - cf.set(real(v*curr_art().giacenza_corretta(magrec,_giaceff,_valcomp)).string()); + cf.set(((real)(v * curr_art().giacenza_corretta(magrec,_giaceff,_valcomp))).string()); return TRUE; }