X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c95017a05556ee19d801a680689511e4ca56bc1c..324028b1d412ab7308d2be18be2b8e4e30310d27:/projects/stargazer/plugins/store/firebird/firebird_store_services.cpp diff --git a/projects/stargazer/plugins/store/firebird/firebird_store_services.cpp b/projects/stargazer/plugins/store/firebird/firebird_store_services.cpp index f7167acb..84eab5fa 100644 --- a/projects/stargazer/plugins/store/firebird/firebird_store_services.cpp +++ b/projects/stargazer/plugins/store/firebird/firebird_store_services.cpp @@ -80,7 +80,7 @@ try where name = ?"); st->Set(1, sc.comment); st->Set(2, sc.cost); - st->Set(3, static_cast(sc.payDay)); + st->Set(3, static_cast(sc.payDay)); st->Set(4, sc.name); st->Execute(); tr->Commit(); @@ -115,7 +115,7 @@ try { st->Get(3, sc->comment); st->Get(4, sc->cost); - long pd; + int16_t pd; st->Get(5, pd); sc->payDay = pd; }