From 14fbadc58e3d6f6faa45d1d90fe1340f177ef045 Mon Sep 17 00:00:00 2001 From: Naffanya Date: Tue, 25 Mar 2014 01:33:41 +0200 Subject: [PATCH] Change %i to %d --- projects/stargazer/plugins/other/rscript/rscript.cpp | 2 +- projects/stargazer/user_property.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/stargazer/plugins/other/rscript/rscript.cpp b/projects/stargazer/plugins/other/rscript/rscript.cpp index 4e454b5e..7a0605a2 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.cpp +++ b/projects/stargazer/plugins/other/rscript/rscript.cpp @@ -436,7 +436,7 @@ for(it = rsSettings.GetUserParams().begin(); parameter = rsu.user->GetParamValue(*it); if (params.length() + parameter.length() > RS_PARAMS_LEN - 1) { - logger("Script params string length %i exceeds the limit of %i symbols.", params.length() + parameter.length(), RS_PARAMS_LEN); + logger("Script params string length %d exceeds the limit of %d symbols.", params.length() + parameter.length(), RS_PARAMS_LEN); break; } params += parameter + " "; diff --git a/projects/stargazer/user_property.cpp b/projects/stargazer/user_property.cpp index aaa0c780..821b3ba3 100644 --- a/projects/stargazer/user_property.cpp +++ b/projects/stargazer/user_property.cpp @@ -18,7 +18,7 @@ USER_PROPERTIES::USER_PROPERTIES(const std::string & sd) disabledDetailStat(conf.disabledDetailStat, "DisabledDetailStat", false, false, GetStgLogger(), sd, properties), alwaysOnline(conf.alwaysOnline, "alwaysOnline", false, false, GetStgLogger(), sd, properties), tariffName (conf.tariffName, "tariff", false, false, GetStgLogger(), sd, properties), - nextTariff (conf.nextTariff, "next tariff", false, false, GetStgLogger(), sd, properties), + nextTariff (conf.nextTariff, "next tariff", false, false, GetStgLogger(), sd, properties), address (conf.address, "address", false, false, GetStgLogger(), sd, properties), note (conf.note, "note", false, false, GetStgLogger(), sd, properties), group (conf.group, "group", false, false, GetStgLogger(), sd, properties), -- 2.43.2