diff --git a/cg/cg2105.cpp b/cg/cg2105.cpp index c4a18b1c5..1262898e3 100755 --- a/cg/cg2105.cpp +++ b/cg/cg2105.cpp @@ -1799,7 +1799,7 @@ bool TPrimanota_application::edit_partite(const TMask& m, int riga) const int gruppo = m.get_int(CG_GRUPPO); const int conto = m.get_int(CG_CONTO); - const long sottoconto = m.get_int(CG_SOTTOCONTO); + const long sottoconto = m.get_long(CG_SOTTOCONTO); TBill b(gruppo, conto, sottoconto, tipo); // Legge il conto della riga selezionata // Esci se il conto della riga cliente non e' valido