MT#59962 sw_vsc: Fix compilation warnings

Fix a list of compilation warnings like:
    warning: format ‘%llu’ expects argument of
    type ‘long long unsigned int’, but argument 5 has
    type ‘uint64_t’ {aka ‘long unsigned int’}

Change-Id: I93ca45869c33040d1e53bb8d29fdf7e7e70603bf
mr13.1
Donat Zenichev 2 years ago
parent 289a452012
commit f9edcce337

@ -301,7 +301,7 @@ u_int64_t SW_VscDialog::getAttributeId(MYSQL *my_handler, const char *attribute)
res = mysql_store_result(my_handler);
if (mysql_num_rows(res) != 1)
{
ERROR("Found invalid number of id entries for attribute '%s': %llu",
ERROR("Found invalid number of id entries for attribute '%s': %lu",
attribute, mysql_num_rows(res));
return 0;
}
@ -381,7 +381,7 @@ u_int64_t SW_VscDialog::getSubscriberId(MYSQL *my_handler, const char *uuid,
res = mysql_store_result(my_handler);
if (mysql_num_rows(res) != 1)
{
ERROR("Found invalid number of id entries for uuid '%s': %llu",
ERROR("Found invalid number of id entries for uuid '%s': %lu",
uuid , mysql_num_rows(res));
return 0;
}
@ -434,7 +434,7 @@ u_int64_t SW_VscDialog::getPreference(MYSQL *my_handler, u_int64_t subscriberId,
}
if (mysql_num_rows(res) != 1)
{
ERROR("Found invalid number of id entries for subscriber id '%llu' and attribute id '%llu': %llu",
ERROR("Found invalid number of id entries for subscriber id '%llu' and attribute id '%llu': %lu",
(unsigned long long int)subscriberId,
(unsigned long long int)attributeId, mysql_num_rows(res));
mysql_free_result(res);

Loading…
Cancel
Save