X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c95017a05556ee19d801a680689511e4ca56bc1c..05c04cb0fbf09fbde7ac244000e48a985e6c68e9:/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<long>(sc.payDay));
+    st->Set(3, static_cast<int16_t>(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;
         }